[PATCH] D27447: [ASTMatcher] Add hasReplacementType matcher for SubstTemplateTypeParmType
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 6 01:51:19 PST 2016
klimek added inline comments.
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:5034
+/// \c substTemplateTypeParmType(hasReplacementType(type())) matches int
+AST_MATCHER_P(SubstTemplateTypeParmType, hasReplacementType,
+ ast_matchers::internal::Matcher<QualType>, InnerMatcher) {
----------------
Thanks for the patch! I think this should use:
AST_TYPE_TRAVERSE_MATCHER
instead.
https://reviews.llvm.org/D27447
More information about the cfe-commits
mailing list