forked from OSchip/llvm-project
Fix build bot problem with missing OMPC_novariants in switch.
This commit is contained in:
parent
4ea5475a3f
commit
0fe8af9468
|
@ -5612,6 +5612,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind,
|
|||
case OMPC_notinbranch:
|
||||
case OMPC_link:
|
||||
case OMPC_use:
|
||||
case OMPC_novariants:
|
||||
llvm_unreachable("Clause is not allowed in 'omp atomic'.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue