[clang] [OpenMP] Change default version to OMP6.0. (PR #122108)
Michael Klemm via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 07:16:06 PST 2025
================
@@ -4174,7 +4174,7 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
}
// Check if -fopenmp is specified and set default version to 5.0.
- Opts.OpenMP = Args.hasArg(OPT_fopenmp) ? 51 : 0;
+ Opts.OpenMP = Args.hasArg(OPT_fopenmp) ? 60 : 0;
----------------
mjklemm wrote:
This should stay at 51 at this time.
https://github.com/llvm/llvm-project/pull/122108
More information about the cfe-commits
mailing list