[clang] [llvm] [Clang] [OpenMP] Support NOWAIT with optional argument (PR #135030)

Michael Klemm via cfe-commits cfe-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:

```suggestion
  "'nowait' clause with a conditional expression requires OpenMP version 6.0">;
```

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


More information about the cfe-commits mailing list