[PATCH] D140968: [clang-tidy] Add check for passing the result of `std::string::c_str` to `strlen`

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 09:07:51 PST 2023


njames93 requested changes to this revision.
njames93 added a comment.
This revision now requires changes to proceed.

I don't see the appear of this check as its a situation that I doubt ever appears in code bases. If there are open source code bases where this is a known problem can you please provide links to them as well as running the run_clang_tidy script over them to verify the changes are good.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140968



More information about the cfe-commits mailing list