[PATCH] D54404: Exclude matchers which can have multiple results
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 18 08:25:48 PST 2018
steveire added inline comments.
================
Comment at: lib/ASTMatchers/Dynamic/Registry.cpp:624
+ "hasAnyDeclaration",
+ "hasAnyName",
+ "hasAnyParameter",
----------------
sbenza wrote:
> I'm not sure what goes in this list.
> `hasAnyName` is here but not `hasName`.
> What is ambiguous about `hasAnyName`?
I have a follow-up which adds output showing that `hasName` can be used. See
http://ec2-52-14-16-249.us-east-2.compute.amazonaws.com:10240/z/_X9mnw
If there was an entry there for `hasAnyName`, what would go in it?
Repository:
rC Clang
https://reviews.llvm.org/D54404
More information about the cfe-commits
mailing list