[PATCH] D48242: [ASTMatchers] Add support for matching the type of a friend decl.
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 15 17:02:31 PDT 2018
klimek added inline comments.
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:2904
+ internal::Matcher<Decl>, InnerMatcher, 1) {
+ QualType QT = internal::getUnderlyingType(Node);
+ if (!QT.isNull())
----------------
In which cases can getUnderlyingType return a null type?
Repository:
rC Clang
https://reviews.llvm.org/D48242
More information about the cfe-commits
mailing list