File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,10 @@ static llvm::cl::opt<bool>
9999DisableObjCInterop (" disable-objc-interop" ,
100100 llvm::cl::desc (" Disable Objective-C interoperability." ));
101101
102+ static llvm::cl::opt<bool >
103+ EnableExperimentalConcurrency (" enable-experimental-concurrency" ,
104+ llvm::cl::desc (" Enable experimental concurrency model." ));
105+
102106static llvm::cl::opt<bool >
103107VerifyExclusivity (" enable-verify-exclusivity" ,
104108 llvm::cl::desc (" Verify the access markers used to enforce exclusivity." ));
@@ -341,6 +345,10 @@ int main(int argc, char **argv) {
341345 Invocation.getLangOptions ().DisableAvailabilityChecking = true ;
342346 Invocation.getLangOptions ().EnableAccessControl = false ;
343347 Invocation.getLangOptions ().EnableObjCAttrRequiresFoundation = false ;
348+
349+ Invocation.getLangOptions ().EnableExperimentalConcurrency =
350+ EnableExperimentalConcurrency;
351+
344352 Invocation.getLangOptions ().EnableObjCInterop =
345353 EnableObjCInterop ? true :
346354 DisableObjCInterop ? false : llvm::Triple (Target).isOSDarwin ();
You can’t perform that action at this time.
0 commit comments