[clang-tools-extra] Rename clang::tidy::matchers::matchesAnyListedName() to matchesAnyListedRegexName (PR #174414)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 5 21:55:37 PST 2026
================
----------------
zeyi2 wrote:
Nit for consistency.
At `L80`:
```diff
// A matcher implementation that matches a list of type name regular expressions
// against a NamedDecl. If a regular expression contains the substring "::"
// matching will occur against the qualified name, otherwise only the typename.
- class MatchesAnyListedNameMatcher
+ class MatchesAnyListedRegexNameMatcher
: public ast_matchers::internal::MatcherInterface<NamedDecl> {
```
Also at L188 (though out of the scope of this PR, could be a future work):
```diff
- matchesAnyListedTypeName(llvm::ArrayRef<StringRef> NameList,
+ matchesAnyListedRegexTypeName(llvm::ArrayRef<StringRef> NameList,
```
https://github.com/llvm/llvm-project/pull/174414
More information about the cfe-commits
mailing list