File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -757,6 +757,10 @@ static llvm::cl::opt<bool>
757
757
EnableExperimentalConcurrency (" enable-experimental-concurrency" ,
758
758
llvm::cl::desc (" Enable experimental concurrency model" ),
759
759
llvm::cl::init(false ));
760
+ static llvm::cl::opt<bool >
761
+ WarnConcurrency (" warn-concurrency" ,
762
+ llvm::cl::desc (" Additional concurrency warnings" ),
763
+ llvm::cl::init(false ));
760
764
761
765
static llvm::cl::opt<bool >
762
766
DisableImplicitConcurrencyImport (" disable-implicit-concurrency-module-import" ,
@@ -3853,6 +3857,9 @@ int main(int argc, char *argv[]) {
3853
3857
if (options::EnableExperimentalConcurrency) {
3854
3858
InitInvok.getLangOptions ().EnableExperimentalConcurrency = true ;
3855
3859
}
3860
+ if (options::WarnConcurrency) {
3861
+ InitInvok.getLangOptions ().WarnConcurrency = true ;
3862
+ }
3856
3863
if (options::DisableImplicitConcurrencyImport) {
3857
3864
InitInvok.getLangOptions ().DisableImplicitConcurrencyModuleImport = true ;
3858
3865
}
You can’t perform that action at this time.
0 commit comments