[PATCH] D17163: [ASTMatchers] Add matcher hasAnyName.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 12 05:10:46 PST 2016
bkramer added a subscriber: bkramer.
================
Comment at: include/clang/ASTMatchers/ASTMatchersInternal.h:644
@@ -643,2 +643,3 @@
explicit HasNameMatcher(StringRef Name);
+ explicit HasNameMatcher(ArrayRef<const StringRef *> Names);
----------------
alexfh wrote:
> Why not `ArrayRef<StringRef>`?
That's an artifact of how llvm::VariadicFunction works. It gives you an array ref of pointers to the arguments.
http://reviews.llvm.org/D17163
More information about the cfe-commits
mailing list