forked from OSchip/llvm-project
Apply clang-tidy fixes for llvm-else-after-return in OpenMPDialect.cpp (NFC)
This commit is contained in:
parent
da3b8200e5
commit
c067a9dee5
|
@ -985,7 +985,8 @@ LogicalResult CancelOp::verify() {
|
|||
if (cast<WsLoopOp>(parentOp).nowaitAttr()) {
|
||||
return emitError() << "A worksharing construct that is canceled "
|
||||
<< "must not have a nowait clause";
|
||||
} else if (cast<WsLoopOp>(parentOp).ordered_valAttr()) {
|
||||
}
|
||||
if (cast<WsLoopOp>(parentOp).ordered_valAttr()) {
|
||||
return emitError() << "A worksharing construct that is canceled "
|
||||
<< "must not have an ordered clause";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue