File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
source/Plugins/ExpressionParser/Clang
test/API/lang/objc/modules-compile-error Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -670,7 +670,6 @@ ClangModulesDeclVendor::Create(Target &target) {
670
670
arch.GetTriple ().str (),
671
671
" -fmodules-validate-system-headers" ,
672
672
" -Werror=non-modular-include-in-framework-module" ,
673
- " -Xclang=-fincremental-extensions" ,
674
673
" -Rmodule-build" };
675
674
676
675
target.GetPlatform ()->AddClangModuleCompilationOptions (
@@ -765,6 +764,8 @@ ClangModulesDeclVendor::Create(Target &target) {
765
764
instance->getFrontendOpts ().Inputs [0 ]))
766
765
return nullptr ;
767
766
767
+ instance->getPreprocessor ().enableIncrementalProcessing ();
768
+
768
769
instance->createASTReader ();
769
770
770
771
instance->createSema (action->getTranslationUnitKind (), nullptr );
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def test(self):
21
21
"expr @import LLDBTestModule" ,
22
22
error = True ,
23
23
substrs = [
24
- "module.h:4:1: error: use of undeclared identifier 'syntax_error_for_lldb_to_find'" ,
24
+ "module.h:4:1: error: unknown type name 'syntax_error_for_lldb_to_find'" ,
25
25
"syntax_error_for_lldb_to_find // comment that tests source printing" ,
26
26
"could not build module 'LLDBTestModule'" ,
27
27
],
You can’t perform that action at this time.
0 commit comments