================
@@ -855,6 +855,9 @@ void Flang::ConstructJob(Compilation &C, const JobAction
&JA,
// is experimental.
D.Diag(diag::warn_openmp_experimental);
+ if (Args.hasArg((options::OPT_fopenmp_default_none)))
----------------
luporl wrote:
```suggestion
if (Args.hasArg(options::OPT_fopenmp_default_none))
```
nit: extra parentheses
https://github.com/llvm/llvm-project/pull/120287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits