[PATCH] D144216: [clang-tidy] Extract string header from redundant-string-cstr checker

Mike Crowe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 4 13:01:50 PST 2023


mikecrowe updated this revision to Diff 502385.
mikecrowe edited the summary of this revision.
mikecrowe added a comment.

This new version uses size_t and size_type rather than the annoyingly-named "size" type that the old implementation in redundant-string-cstr.cpp used and is the basis for using the new <string> header in four further checks to be submitted as separate changes.


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

https://reviews.llvm.org/D144216

Files:
  clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
  clang-tools-extra/test/clang-tidy/checkers/readability/redundant-string-cstr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144216.502385.patch
Type: text/x-patch
Size: 5672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230304/1341580f/attachment.bin>


More information about the cfe-commits mailing list