[PATCH] D54307: [clang] overload ignoringParens for Expr

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 9 08:39:04 PST 2018


aaron.ballman added inline comments.


================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:814
 /// would match the declaration for fp.
-AST_MATCHER_P(QualType, ignoringParens,
-              internal::Matcher<QualType>, InnerMatcher) {
+AST_MATCHER_P_OVERLOAD(QualType, ignoringParens, internal::Matcher<QualType>,
+                       InnerMatcher, 0) {
----------------
Can you do this via `AST_POLYMORPHIC_MATCHER_P` instead, given that the implementation is the same?


Repository:
  rC Clang

https://reviews.llvm.org/D54307





More information about the cfe-commits mailing list