[clang] [clang] Add hasAnyNameInVector matcher (PR #139594)
Florian Mayer via cfe-commits
cfe-commits at lists.llvm.org
Tue May 13 11:01:14 PDT 2025
fmayer wrote:
> > > Are there any planned in-tree uses for this matcher?
> >
> >
> > I had a downstream use planned. Does this mean I will have to reimplement `internal::HasNameMatcher`?
>
> Can you adapt the code to use `hasAnyName()` instead, as that can accept a variadic number of `StringRef` arguments stored in an `ArrayRef`?
The use is for a runtime list of names, so I don't think the variadic would work?
https://github.com/llvm/llvm-project/pull/139594
More information about the cfe-commits
mailing list