This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf2f920b987f3: [clang-tidy] Simplify inaccurate erase check
(authored by stephenkelly).
Changed prior to commit:
https://reviews.llvm.org/D96139?vs
njames93 accepted this revision.
njames93 added a comment.
This revision is now accepted and ready to land.
LG with nit.
Comment at: clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp:25-27
+ 1, anyOf(cxxMemberCallExpr(callee(cxxMethodDecl(hasName("end"
steveire created this revision.
steveire added reviewers: aaron.ballman, njames93.
Herald added subscribers: nullptr.cpp, xazax.hun.
steveire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The normalization of matchers means that this now