Remove duplication in abseil-redundant-strcat-calls check tests,
by using dummy <string> header file string.
Depends on D145310
Paths
| Differential D145311
[clang-tidy][NFC] Make abseil-redundant-strcat-calls checker use <string> header ClosedPublic Authored by mikecrowe on Mar 4 2023, 1:07 PM.
Details Summary Remove duplication in abseil-redundant-strcat-calls check tests, Depends on D145310
Diff Detail
Event Timelinemikecrowe added a child revision: D145312: [clang-tidy] Make readability-string-compare check use <string> header.Mar 4 2023, 1:09 PM mikecrowe retitled this revision from Make abseil-redundant-strcat-calls checker use <string> header to [clang-tidy] Make abseil-redundant-strcat-calls checker use <string> header. mikecrowe added a child revision: D145724: [clang-tidy] Provide default template arguments in <string>.Mar 9 2023, 12:50 PM Comment Actions It's fine, absl::StrCat returns std::string. This revision is now accepted and ready to land.Mar 10 2023, 2:00 AM Comment Actions
Thanks. Would you like me to remove the unnecessary noise from the commit message then, or will you do that as part of landing it? PiotrZSL retitled this revision from [clang-tidy] Make abseil-redundant-strcat-calls checker use <string> header to [clang-tidy][NFC] Make abseil-redundant-strcat-calls checker use <string> header.Mar 11 2023, 9:44 AM Closed by commit rG988355808efc: [clang-tidy][NFC] Make abseil-redundant-strcat-calls checker use <string> header (authored by mikecrowe, committed by PiotrZSL). · Explain WhyMar 11 2023, 9:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504383 clang-tools-extra/test/clang-tidy/checkers/abseil/redundant-strcat-calls.cpp
|