aaron.ballman added a subscriber: 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( ---------------- I think this comment is incorrect, you want assignment, not equality.
http://reviews.llvm.org/D18475 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits