[PATCH] D18412: [clang-tidy] Add support for different char-types for the readability-redundant-string-cstr checker.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 11:38:49 PDT 2016


alexfh added inline comments.

================
Comment at: clang-tidy/readability/RedundantStringCStrCheck.cpp:103
@@ +102,3 @@
+                        callee(memberExpr().bind("member")),
+                        callee(cxxMethodDecl(matchesName(StringCStrMethod))))
+          .bind("call");
----------------
Why is it still `matchesName(StringCStrMethod)`?


http://reviews.llvm.org/D18412





More information about the cfe-commits mailing list