Skip to content

Commit b1400b1

Browse files
[Flang][OpenMP] Allow Nowait clause only once in the workshare construct
1 parent 554361b commit b1400b1

File tree

1 file changed

+1
-1
lines changed
  • llvm/include/llvm/Frontend/OpenMP

1 file changed

+1
-1
lines changed

llvm/include/llvm/Frontend/OpenMP/OMP.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ def OMP_Workshare : Directive<"workshare"> {
11701170
let category = CA_Executable;
11711171
}
11721172
def OMP_EndWorkshare : Directive<"end workshare"> {
1173-
let allowedClauses = [
1173+
let allowedOnceClauses = [
11741174
VersionedClause<OMPC_NoWait>,
11751175
];
11761176
let leafConstructs = OMP_Workshare.leafConstructs;

0 commit comments

Comments
 (0)