[clang] [llvm] [OpenMP 60] Update parsing and semantic support for `nowait` clause to accept optional argument (PR #159628)
Fazlay Rabbi via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 8 11:11:36 PDT 2025
================
@@ -308,6 +308,13 @@ OMPClause::child_range OMPIfClause::used_children() {
return child_range(&Condition, &Condition + 1);
}
+OMPClause::child_range OMPNowaitClause::used_children() {
+ if (Condition)
+ return child_range(&Condition, &Condition + 1);
+ Stmt *Null = nullptr;
+ return child_range(&Null, &Null);
----------------
mdfazlay wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/159628
More information about the llvm-commits
mailing list