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/plugins/clangpchmanager/projectupdater.h | |
parent | 07fcd6f3628a65f4a88ce6f228f75972c96973e2 (diff) |
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/plugins/clangpchmanager/projectupdater.h')
-rw-r--r-- | src/plugins/clangpchmanager/projectupdater.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/clangpchmanager/projectupdater.h b/src/plugins/clangpchmanager/projectupdater.h index 2e2561fcb1..c58d0ed8e3 100644 --- a/src/plugins/clangpchmanager/projectupdater.h +++ b/src/plugins/clangpchmanager/projectupdater.h @@ -27,6 +27,7 @@ #include "clangpchmanager_global.h" +#include <compilermacro.h> #include <filecontainerv2.h> #include <filepathcachinginterface.h> @@ -73,7 +74,7 @@ unittest_public: void addToHeaderAndSources(HeaderAndSources &headerAndSources, const CppTools::ProjectFile &projectFile) const; static QStringList compilerArguments(CppTools::ProjectPart *projectPart); - static Utils::SmallStringVector createMacroNames(CppTools::ProjectPart *projectPart); + static ClangBackEnd::CompilerMacros createCompilerMacros(CppTools::ProjectPart *projectPart); static Utils::PathStringVector createExcludedPaths( const ClangBackEnd::V2::FileContainers &generatedFiles); |