[PATCH] D61552: [clang] Adapt ASTMatcher to explicit(bool) specifier

Tyker via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 08:23:54 PDT 2019


Tyker added inline comments.


================
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:6190
+/// cxxDeductionGuideDecl(isExplicit()) will match #6, but not #5.
+/// cxxConstructorDecl(isExplicit()) will match #8, but not #7 or #9.
+AST_POLYMORPHIC_MATCHER(isExplicit, AST_POLYMORPHIC_SUPPORTED_TYPES(
----------------
aaron.ballman wrote:
> Why won't it match #2?
#2 matches.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61552/new/

https://reviews.llvm.org/D61552





More information about the cfe-commits mailing list