[clang] [llvm] [Clang] [OpenMP] Support NOWAIT with optional argument (PR #135030)
Michael Klemm via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 10 02:57:26 PDT 2025
================
@@ -11530,6 +11530,8 @@ def note_omp_nested_teams_construct_here : Note<
"nested teams construct here">;
def note_omp_nested_statement_here : Note<
"%select{statement|directive}0 outside teams construct here">;
+def err_omp_nowait_with_arg_unsupported : Error<
+ "'nowait' clause with a conditional expression requires OpenMP6.0">;
----------------
mjklemm wrote:
Is this error even necessary? The parser for OpenMP should not accept the form `nowait(cond)` unless `-fopenmp-version=6.0` is set on the command line.
https://github.com/llvm/llvm-project/pull/135030
More information about the llvm-commits
mailing list