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

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Tue Dec 17 11:50:47 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]>,
----------------
tarunprabhu wrote:

Do you mind moving this to later in this file? Maybe so it is before `def fopenmp_use_tls`. There is a loose ordering of options here with the "top-level" `fopenmp` options first and some more specific ones later. This file is already huge and somewhat disorganized, so it would be good to keep what organization there is.

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


More information about the flang-commits mailing list