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"))))
+                           .bind("end"),
+                       anything())))
----------------
This seems like a use case for the optionally matcher.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96139/new/

https://reviews.llvm.org/D96139

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to