[flang-commits] [clang] [flang] [Flang][OpenMP] Add -fopenmp-default-none command line flag (PR #120287)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Wed Dec 18 04:56:05 PST 2024


================
@@ -3596,6 +3596,9 @@ def fopenmp : Flag<["-"], "fopenmp">, Group<f_Group>,
   Flags<[NoArgumentUnused]>,
   Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
   HelpText<"Parse OpenMP pragmas and generate parallel code.">;
+def fopenmp_default_none : Flag<["-"], "fopenmp-default-none">, Group<f_Group>,
+  Visibility<[FlangOption, FC1Option]>,
----------------
mjklemm wrote:

Done. I have seen that there seems to be a bit of chaos (or: I did not the see the order :-)) in the order of the CLI options. Maybe it warrants an NFC PR that puts the options in some better order.

https://github.com/llvm/llvm-project/pull/120287


More information about the flang-commits mailing list