Apply clang-tidy fixes for readability-container-size-empty in SCF.cpp (NFC)

This commit is contained in:
Mehdi Amini 2022-01-14 07:34:55 +00:00
parent 1c173c9442
commit fd6ba1d2c0
1 changed files with 1 additions and 1 deletions

View File

@ -2546,7 +2546,7 @@ struct WhileUnusedArg : public OpRewritePattern<WhileOp> {
}
}
if (argsToErase.size() == 0)
if (argsToErase.empty())
return failure();
rewriter.startRootUpdate(op);