[PATCH] D96139: [clang-tidy] Simplify inaccurate erase check

2021-02-13 Thread Stephen Kelly via Phabricator via cfe-commits
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

[PATCH] D96139: [clang-tidy] Simplify inaccurate erase check

2021-02-12 Thread Nathan James via Phabricator via cfe-commits
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"

[PATCH] D96139: [clang-tidy] Simplify inaccurate erase check

2021-02-05 Thread Stephen Kelly via Phabricator via cfe-commits
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