Skip to content

Commit d19ca62

Browse files
jyu2-gitmemfrob
authored andcommitted
Fix build bot problem with missing OMPC_novariants in switch.
1 parent 3d453f4 commit d19ca62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CodeGen/CGStmtOpenMP.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5612,6 +5612,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind,
56125612
case OMPC_notinbranch:
56135613
case OMPC_link:
56145614
case OMPC_use:
5615+
case OMPC_novariants:
56155616
llvm_unreachable("Clause is not allowed in 'omp atomic'.");
56165617
}
56175618
}

0 commit comments

Comments
 (0)