[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:35:40 PST 2023


================
@@ -28,9 +28,9 @@ Options
 
 .. option:: StringLikeClasses
 
-   Semicolon-separated list of names of string-like classes. By default only
-   ``std::basic_string`` is considered. The list of methods to considered is
-   fixed.
+   Semicolon-separated list of names of string-like classes. By default both
----------------
PiotrZSL wrote:

Line 6 in this file should also be changed, something like:
"Checks whether a ``std::string::find()`` or ``std::string::rfind()``  (and corresponding ``std::string_view`` methods)"

Simply should be there some info also about string_view, no need to update examples, just description.

https://github.com/llvm/llvm-project/pull/72283


More information about the cfe-commits mailing list