diff options
author | Marco Bubke <marco.bubke@qt.io> | 2018-02-06 19:03:14 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2018-02-15 09:58:53 +0000 |
commit | 56f79feebfa8d403be50ab8faf99da03376016b8 (patch) | |
tree | 24e599c3a800cf4db8d491d6a1c4033411608b9e /src/tools/clangrefactoringbackend/source/symbolindexer.cpp | |
parent | 07fcd6f3628a65f4a88ce6f228f75972c96973e2 (diff) | |
download | qt-creator-56f79feebfa8d403be50ab8faf99da03376016b8.tar.gz |
Clang: Introduce CompilerMacro
We want not only the name but the value of the macro too. So we can
compare if anything has changed.
Change-Id: Ie59caf8cbf54d108f9e15299d25306a406b5c40d
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/tools/clangrefactoringbackend/source/symbolindexer.cpp')
-rw-r--r-- | src/tools/clangrefactoringbackend/source/symbolindexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clangrefactoringbackend/source/symbolindexer.cpp b/src/tools/clangrefactoringbackend/source/symbolindexer.cpp index 9c8c871cfa..2d617961fa 100644 --- a/src/tools/clangrefactoringbackend/source/symbolindexer.cpp +++ b/src/tools/clangrefactoringbackend/source/symbolindexer.cpp @@ -65,7 +65,7 @@ void SymbolIndexer::updateProjectPart(V2::ProjectPartContainer &&projectPart, m_symbolStorage.insertOrUpdateProjectPart(projectPart.projectPartId(), projectPart.arguments(), - projectPart.macroNames()); + projectPart.compilerMacros()); m_symbolStorage.updateProjectPartSources(projectPart.projectPartId(), m_symbolsCollector.sourceFiles()); |