We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20e81af + f7d10b8 commit 0f621a0Copy full SHA for 0f621a0
lib/ClangImporter/ClangImporter.cpp
@@ -728,6 +728,9 @@ importer::getNormalInvocationArguments(
728
}
729
730
731
+
732
+ invocationArgStrs.push_back("-Xclang");
733
+ invocationArgStrs.push_back("-fincremental-extensions");
734
735
736
static void
@@ -1346,7 +1349,6 @@ ClangImporter::create(ASTContext &ctx,
1346
1349
return nullptr; // there was an error related to the compiler arguments.
1347
1350
1348
1351
clang::Preprocessor &clangPP = instance.getPreprocessor();
- clangPP.enableIncrementalProcessing();
1352
1353
// Setup Preprocessor callbacks before initialing the parser to make sure
1354
// we catch implicit includes.
0 commit comments