[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:59:59 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]>,
+ HelpText<"Add DEFAULT(NONE) to all OpenMP directives that allow data-sharing clauses.">;
----------------
mjklemm wrote:
I'm not aware that GFortran or IFX would that. And I always sort of was annoyed by that. :-)
https://github.com/llvm/llvm-project/pull/120287
More information about the flang-commits
mailing list