[clang] [llvm] [OpenMP 60] Update parsing and semantic support for `nowait` clause to accept optional argument (PR #159628)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 20 07:38:26 PDT 2025


================
@@ -3179,7 +3180,8 @@ OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind,
       ErrorFound = true;
     }
 
-    if ((CKind == OMPC_ordered || CKind == OMPC_partial) &&
+    if ((CKind == OMPC_ordered || CKind == OMPC_nowait ||
----------------
alexey-bataev wrote:

Shouldbe unsupported, if version is < 6.0

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


More information about the llvm-commits mailing list