This requires operator[] to be added to the std::basic_string
implementation.
Depends on D144216
Paths
| Differential D145310
[clang-tidy] Make readability-container-data-pointer use <string> header ClosedPublic Authored by mikecrowe on Mar 4 2023, 1:04 PM.
Details Summary This requires operator[] to be added to the std::basic_string Depends on D144216
Diff Detail
Event Timelinemikecrowe added a parent revision: D144216: [clang-tidy] Extract string header from redundant-string-cstr checker. This revision is now accepted and ready to land.Mar 5 2023, 9:29 AM Comment Actions Rebase on top of fb7ef637a84652dbd3d973a1ba7db9470181b5aa (which is a Closed by commit rGefda335bf5be: [clang-tidy] Make readability-container-data-pointer use <string> header (authored by mikecrowe, committed by carlosgalvezp). · Explain WhyMar 11 2023, 6:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504354 clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
clang-tools-extra/test/clang-tidy/checkers/readability/container-data-pointer.cpp
|