diff options
author | Marco Bubke <marco.bubke@qt.io> | 2019-05-23 18:32:47 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2019-06-17 10:49:49 +0000 |
commit | ee27ae2ef78692b29d26c466c519f4318526a7a4 (patch) | |
tree | 2ebb99780af3335260d33f2eaf6f1f9a49745a7f /src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h | |
parent | b36e9d0e95f53fdebcf63f79060c0ebff42d0bf2 (diff) | |
download | qt-creator-ee27ae2ef78692b29d26c466c519f4318526a7a4.tar.gz |
ClangRefactoring: Improve indexing
Fix some bugs in the indexing and use the new macro indexer from clang.
Change-Id: I2ba1b28097a8751aea942071851a60d164c6f371
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h')
-rw-r--r-- | src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h b/src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h index 2392238106..16ba5a4f53 100644 --- a/src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h +++ b/src/tools/clangrefactoringbackend/source/collectmacrossourcefilecallbacks.h @@ -44,12 +44,10 @@ class CollectMacrosSourceFileCallbacks : public clang::tooling::SourceFileCallba public: CollectMacrosSourceFileCallbacks(SymbolEntries &symbolEntries, SourceLocationEntries &sourceLocationEntries, - FilePathCachingInterface &filePathCache, - SourcesManager &sourcesManager) - : m_symbolEntries(symbolEntries), - m_sourceLocationEntries(sourceLocationEntries), - m_filePathCache(filePathCache), - m_sourcesManager(sourcesManager) + FilePathCachingInterface &filePathCache) + : m_symbolEntries(symbolEntries) + , m_sourceLocationEntries(sourceLocationEntries) + , m_filePathCache(filePathCache) { } @@ -96,7 +94,6 @@ private: SymbolEntries &m_symbolEntries; SourceLocationEntries &m_sourceLocationEntries; FilePathCachingInterface &m_filePathCache; - SourcesManager &m_sourcesManager; }; } // namespace ClangBackEnd |