diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index ebe65e5f72b3..61e3661e59be 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -6317,7 +6317,6 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_bind: case OMPC_align: case OMPC_cancellation_construct_type: - case OMPC_fail: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } }