[clang-tools-extra] [clang-tidy][abseil-string-find-startswith] Add string_view to default string-like classes (PR #72283)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 14 11:29:36 PST 2023
================
@@ -19,11 +19,14 @@ using namespace clang::ast_matchers;
namespace clang::tidy::abseil {
+const auto DefaultStringLikeClasses =
+ "::std::basic_string; ::std::basic_string_view";
----------------
PiotrZSL wrote:
Remove this space
```suggestion
"::std::basic_string;::std::basic_string_view";
```
https://github.com/llvm/llvm-project/pull/72283
More information about the cfe-commits
mailing list