forked from OSchip/llvm-project
Apply clang-tidy fixes for readability-container-size-empty in SCF.cpp (NFC)
This commit is contained in:
parent
1c173c9442
commit
fd6ba1d2c0
|
@ -2546,7 +2546,7 @@ struct WhileUnusedArg : public OpRewritePattern<WhileOp> {
|
|||
}
|
||||
}
|
||||
|
||||
if (argsToErase.size() == 0)
|
||||
if (argsToErase.empty())
|
||||
return failure();
|
||||
|
||||
rewriter.startRootUpdate(op);
|
||||
|
|
Loading…
Reference in New Issue