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>
99
99
DisableObjCInterop (" disable-objc-interop" ,
100
100
llvm::cl::desc (" Disable Objective-C interoperability." ));
101
101
102
+ static llvm::cl::opt<bool >
103
+ EnableExperimentalConcurrency (" enable-experimental-concurrency" ,
104
+ llvm::cl::desc (" Enable experimental concurrency model." ));
105
+
102
106
static llvm::cl::opt<bool >
103
107
VerifyExclusivity (" enable-verify-exclusivity" ,
104
108
llvm::cl::desc (" Verify the access markers used to enforce exclusivity." ));
@@ -341,6 +345,10 @@ int main(int argc, char **argv) {
341
345
Invocation.getLangOptions ().DisableAvailabilityChecking = true ;
342
346
Invocation.getLangOptions ().EnableAccessControl = false ;
343
347
Invocation.getLangOptions ().EnableObjCAttrRequiresFoundation = false ;
348
+
349
+ Invocation.getLangOptions ().EnableExperimentalConcurrency =
350
+ EnableExperimentalConcurrency;
351
+
344
352
Invocation.getLangOptions ().EnableObjCInterop =
345
353
EnableObjCInterop ? true :
346
354
DisableObjCInterop ? false : llvm::Triple (Target).isOSDarwin ();
You can’t perform that action at this time.
0 commit comments