diff options
Diffstat (limited to 'src/clangparser.cpp')
-rw-r--r-- | src/clangparser.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/clangparser.cpp b/src/clangparser.cpp index 2ca5998..d0ed573 100644 --- a/src/clangparser.cpp +++ b/src/clangparser.cpp @@ -894,34 +894,34 @@ std::unique_ptr<ClangTUParser> ClangParser::createTUParser(const FileDef *fd) co //-------------------------------------------------------------------------- #else // use stubbed functionality in case libclang support is disabled. -void ClangParser::start(const char *,QStrList &) +void ClangTUParser::switchToFile(FileDef *fd) { } -void ClangParser::switchToFile(const char *) +void ClangTUParser::parse() { } -void ClangParser::finish() +QCString ClangTUParser::lookup(uint,const char *) { + return ""; } -QCString ClangParser::lookup(uint,const char *) +class ClangParser::Private { - return ""; -} +}; -void ClangParser::writeSources(CodeOutputInterface &,FileDef *) +ClangParser::ClangParser() : p(std::make_unique<Private>()) { } -ClangParser::ClangParser() +ClangParser::~ClangParser() { - p = NULL; } -ClangParser::~ClangParser() +std::unique_ptr<ClangTUParser> ClangParser::createTUParser(const FileDef *) const { + return nullptr; } #endif |