[PATCH] D145730: [clang-tidy] readability-redundant-string-cstr for smart pointer #576705

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 10 05:22:39 PST 2023


PiotrZSL added a comment.

Code is correct, simply this check uses more manual string manipulation.
In theory there could be some more issues if `operator ->` wouldn't return pointer, but a class with additional `operator ->`, but that's legacy independent issue.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145730/new/

https://reviews.llvm.org/D145730



More information about the cfe-commits mailing list