summaryrefslogtreecommitdiff
path: root/src/tools/clangrefactoringbackend/source/symbolindexer.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2018-10-11 18:09:55 +0200
committerMarco Bubke <marco.bubke@qt.io>2018-10-16 08:57:00 +0000
commit2c885fa3d4533ce1d2db43af809d532a64755b00 (patch)
treee9fea758df346a9f584f2bda899a2ab0d98435fd /src/tools/clangrefactoringbackend/source/symbolindexer.h
parent468dcc67cbb3b43387b6dfe5b5ddb8a2f63c4198 (diff)
downloadqt-creator-2c885fa3d4533ce1d2db43af809d532a64755b00.tar.gz
Clang: Split symbol storage
We need UsedMacros and source related statements in the PCH manager too, so we have to split that class. Task-number: QTCREATORBUG-21289 Change-Id: Ie27d4b518b3d6d9174e93fcb243fdb55a09ddf51 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/tools/clangrefactoringbackend/source/symbolindexer.h')
-rw-r--r--src/tools/clangrefactoringbackend/source/symbolindexer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/clangrefactoringbackend/source/symbolindexer.h b/src/tools/clangrefactoringbackend/source/symbolindexer.h
index 6d1a1de50b..6e96e2fee5 100644
--- a/src/tools/clangrefactoringbackend/source/symbolindexer.h
+++ b/src/tools/clangrefactoringbackend/source/symbolindexer.h
@@ -28,6 +28,7 @@
#include "filestatuscache.h"
#include "symbolindexertaskqueueinterface.h"
#include "symbolstorageinterface.h"
+#include "usedmacroandsourcestorageinterface.h"
#include "clangpathwatcher.h"
#include <projectpartcontainerv2.h>
@@ -42,6 +43,7 @@ class SymbolIndexer final : public ClangPathWatcherNotifier
public:
SymbolIndexer(SymbolIndexerTaskQueueInterface &symbolIndexerTaskQueue,
SymbolStorageInterface &symbolStorage,
+ UsedMacroAndSourceStorageInterface &usedMacroAndSourceStorage,
ClangPathWatcherInterface &pathWatcher,
FilePathCachingInterface &filePathCache,
FileStatusCache &fileStatusCache,
@@ -71,6 +73,7 @@ public:
private:
SymbolIndexerTaskQueueInterface &m_symbolIndexerTaskQueue;
SymbolStorageInterface &m_symbolStorage;
+ UsedMacroAndSourceStorageInterface &m_usedMacroAndSourceStorage;
ClangPathWatcherInterface &m_pathWatcher;
FilePathCachingInterface &m_filePathCache;
FileStatusCache &m_fileStatusCache;