Fix build bot problem with missing OMPC_novariants in switch.

This commit is contained in:
Jennifer Yu 2021-04-02 13:56:57 -07:00
parent 4ea5475a3f
commit 0fe8af9468
1 changed files with 1 additions and 0 deletions

View File

@ -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'.");
}
}