Doxygen
|
Wrapper for to let libclang assisted parsing. More...
#include <src/clangparser.h>
Classes | |
class | Private |
Public Member Functions | |
std::unique_ptr< ClangTUParser > | createTUParser (const FileDef *fd) const |
Static Public Member Functions | |
static ClangParser * | instance () |
Returns the one and only instance of the class. | |
Private Member Functions | |
const clang::tooling::CompilationDatabase * | database () const |
ClangParser () | |
virtual | ~ClangParser () |
Private Attributes | |
std::unique_ptr< Private > | p |
Static Private Attributes | |
static ClangParser * | s_instance = nullptr |
Friends | |
class | ClangTUParser |
Wrapper for to let libclang assisted parsing.
Definition at line 79 of file clangparser.h.
|
private |
Definition at line 985 of file clangparser.cpp.
References p.
Referenced by ClangTUParser, and instance().
|
privatevirtual |
Definition at line 989 of file clangparser.cpp.
std::unique_ptr< ClangTUParser > ClangParser::createTUParser | ( | const FileDef * | fd | ) | const |
Definition at line 993 of file clangparser.cpp.
Referenced by generateFileSources(), parseFilesMultiThreading(), and parseFilesSingleThreading().
|
private |
|
static |
Returns the one and only instance of the class.
Definition at line 33 of file clangparser.cpp.
References ClangParser(), g_clangMutex, and s_instance.
Referenced by generateFileSources(), parseFilesMultiThreading(), and parseFilesSingleThreading().
|
friend |
Definition at line 81 of file clangparser.h.
References ClangParser(), and ClangTUParser.
Referenced by ClangTUParser.
|
private |
Definition at line 90 of file clangparser.h.
Referenced by ClangParser().
|
staticprivate |
Definition at line 94 of file clangparser.h.
Referenced by instance().