[PATCH] D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 15 13:52:29 PST 2022
njames93 added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/readability/redundant-string-cstr.cpp:56
+};
+typedef basic_string_view<char, std::char_traits<char>> string_view;
}
----------------
Can you add typedefs and tests for wstring_view and others
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140018/new/
https://reviews.llvm.org/D140018
More information about the cfe-commits
mailing list