[PATCH] D54405: Record whether a AST Matcher constructs a Node
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 27 02:06:28 PST 2018
steveire marked an inline comment as done.
steveire added inline comments.
================
Comment at: lib/ASTMatchers/Dynamic/Registry.cpp:85
+ using DerivedT = typename ast_matchers::internal::VariadicAllOfMatcher<ResultT>::Type;
+ registerIfNodeMatcher(ASTNodeKind::getFromNodeKind<DerivedT>(), Descriptor, MatcherName);
+ }
----------------
You still can't see the return type of `getFromNodeKind()` here, but I trust that this is fine nonetheless.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54405/new/
https://reviews.llvm.org/D54405
More information about the cfe-commits
mailing list