[PATCH] D18475: [clang-tidy] Add more detection rules for redundant c_str calls.

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 25 10:06:53 PDT 2016


Eugene.Zelenko added a subscriber: Eugene.Zelenko.
Eugene.Zelenko added a comment.

Thank you for enhancement!

I think will be good idea to extend check for any function call that receives .c_str(), since it mat be in other classes could have methods which receives both C++ or C strings. See also PR24870.


http://reviews.llvm.org/D18475





More information about the cfe-commits mailing list