Eugene.Zelenko added inline comments.
================
Comment at: clang-tidy/readability/RedundantDataCallCheck.cpp:45
+ anyOf(TypesMatcher, pointerType(pointee(TypesMatcher)))))),
+ callee(namedDecl(hasName("data"))))
+ .bind("call")))),
----------------
aaron.ballman wrote:
> Should this check apply equally to `std::string::c_str()` as well as
> `std::string::data()`?
readability-redundant-string-cstr do both.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45702
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits