[PATCH] D145312: [clang-tidy] Make readability-string-compare check use <string> header
Carlos Galvez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 5 09:37:07 PST 2023
carlosgalvezp added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/readability/string-compare.cpp:4-8
-template <typename T>
-class allocator {};
-template <typename T>
-class char_traits {};
-template <typename C, typename T = std::char_traits<C>, typename A = std::allocator<C>>
----------------
Would it make sense to add these to the new header?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145312/new/
https://reviews.llvm.org/D145312
More information about the cfe-commits
mailing list