[clang-tools-extra] [clang-tidy] Enhance modernize-use-starts-ends-with to handle substr patterns (PR #116033)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 08:50:50 PST 2024
================
@@ -7,26 +7,16 @@ Checks for common roundabout ways to express ``starts_with`` and ``ends_with``
and suggests replacing with the simpler method when it is available. Notably,
this will work with ``std::string`` and ``std::string_view``.
-.. code-block:: c++
+The check handles the following expressions:
----------------
PiotrZSL wrote:
avoid "The check", documentation is in context of check, write something like "Covered scenarios/expressions" or something
https://github.com/llvm/llvm-project/pull/116033
More information about the cfe-commits
mailing list