For callers, supplying a vector is often more convenient than working with a variadic function
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The existing matcher works with a std::vector<StringRef>. If you need to pass a std::vector<std::string>, there's a way to convert it:
hasAnyName(std::vector<llvm::StringRef>(v.begin(), v.end()))
Comment Actions
OK, abandoning.
I'm still confused as to why all matchers insist on accepting non-owning containers, just to convert them to owning ones later on.