Skip to content

Commit

Permalink
Apply clang-tidy fixes for readability-container-size-empty in SCF.cp…
Browse files Browse the repository at this point in the history
…p (NFC)
  • Loading branch information
joker-eph committed Jan 14, 2022
1 parent 1c173c9 commit fd6ba1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Dialect/SCF/SCF.cpp
Expand Up @@ -2546,7 +2546,7 @@ struct WhileUnusedArg : public OpRewritePattern<WhileOp> {
}
}

if (argsToErase.size() == 0)
if (argsToErase.empty())
return failure();

rewriter.startRootUpdate(op);
Expand Down

0 comments on commit fd6ba1d

Please sign in to comment.