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

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 12:36:12 PDT 2016

etienneb marked an inline comment as done.
etienneb added a comment.

Tests are fine. PTAnL?

Comment at: clang-tidy/readability/RedundantStringCStrCheck.cpp:103
@@ +102,3 @@
+                        callee(memberExpr().bind("member")),
+                        callee(cxxMethodDecl(hasName("c_str"))))
+          .bind("call");
bad quick fix.


More information about the cfe-commits mailing list