forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -301,7 +301,7 @@ TEST_F(RefactoringServer, UpdatePchProjectPartsCallsSymbolIndexingUpdateProjectP
|
||||
{
|
||||
ProjectPartContainers projectParts{{{"projectPartId",
|
||||
{"-I", TESTDATA_DIR},
|
||||
{"DEFINE"},
|
||||
{{"DEFINE", "1"}},
|
||||
{filePathId("header1.h")},
|
||||
{filePathId("main.cpp")}}}};
|
||||
FileContainers unsaved{{{TESTDATA_DIR, "query_simplefunction.h"},
|
||||
|
||||
Reference in New Issue
Block a user