Skip to content

Commit 607d549

Browse files
[Flang][OpenMP] Allow Nowait clause only once in the workshare construct
1 parent c2acb8d commit 607d549

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
@@ -1162,7 +1162,7 @@ def OMP_Workshare : Directive<"workshare"> {
11621162
let category = CA_Executable;
11631163
}
11641164
def OMP_EndWorkshare : Directive<"end workshare"> {
1165-
let allowedClauses = [
1165+
let allowedOnceClauses = [
11661166
VersionedClause<OMPC_NoWait>,
11671167
];
11681168
let leafConstructs = OMP_Workshare.leafConstructs;

0 commit comments

Comments
 (0)