Fix warning by handling OMPC_fail in switch statement.
This commit is contained in:
parent
ca27f3e3b2
commit
9698a445c6
|
@ -6317,6 +6317,7 @@ 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'.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user