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

thanks, aaron.ballman@.


================
Comment at: clang-tidy/readability/RedundantStringCStrCheck.cpp:129
@@ +128,3 @@
+  // Detect: 'dst += str.c_str()'  ->  'dst += str'
+  // Detect: 's == str.c_str()'  ->  's == str'
+  Finder->addMatcher(
----------------
aaron.ballman wrote:
> I think this comment is incorrect, you want assignment, not equality.
copy-paste! Good catch.


http://reviews.llvm.org/D18475



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

Reply via email to