[clang] [clang] Add hasAnyNameInVector matcher (PR #139594)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 13 03:41:14 PDT 2025


AaronBallman 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`?

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


More information about the cfe-commits mailing list