[clang-tools-extra] [clang-tidy] Support special names in matchesAnyListedRegexName (PR #230353)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 21:55:23 PDT 2026


================
@@ -211,6 +194,10 @@ infrastructure are described first, followed by tool-specific sections.
   <clang-tidy/checks/bugprone/std-namespace-modification>` when checking
   lambda closure types used as template arguments.
 
+- Improved {doc}`bugprone-suspicious-stringview-data-usage
+  <clang-tidy/checks/bugprone/suspicious-stringview-data-usage>` by allowing
+  unqualified patterns in the `AllowedCallees` option to match constructor names.
----------------
EugeneZelenko wrote:

```suggestion
  unqualified patterns in the {option}`AllowedCallees` to match constructor names.
```

Will be good idea to fix other similar occurrences as well as `{option}... option`.

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


More information about the cfe-commits mailing list