From 2c08ddcd5ab7278ab5e7faf986e6763f8c9d5cf6 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 27 Dec 2017 13:20:24 +0100 Subject: Clang: Add path notifier to symbol indexer Change-Id: I2a605a5a5ac2511566edd9c069e84b5ec9d95279 Reviewed-by: Ivan Donchevskii --- src/tools/clangrefactoringbackend/source/symbolindexer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/tools/clangrefactoringbackend/source/symbolindexer.h') diff --git a/src/tools/clangrefactoringbackend/source/symbolindexer.h b/src/tools/clangrefactoringbackend/source/symbolindexer.h index f9af79db5b..239ffc9d5e 100644 --- a/src/tools/clangrefactoringbackend/source/symbolindexer.h +++ b/src/tools/clangrefactoringbackend/source/symbolindexer.h @@ -34,7 +34,7 @@ namespace ClangBackEnd { -class SymbolIndexer +class SymbolIndexer : public ClangPathWatcherNotifier { public: SymbolIndexer(SymbolsCollectorInterface &symbolsCollector, @@ -44,6 +44,9 @@ public: void updateProjectParts(V2::ProjectPartContainers &&projectParts, V2::FileContainers &&generatedFiles); + void pathsWithIdsChanged(const Utils::SmallStringVector &ids) override; + void pathsChanged(const FilePathIds &filePathIds) override; + private: SymbolsCollectorInterface &m_symbolsCollector; SymbolStorageInterface &m_symbolStorage; -- cgit v1.2.1