Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:Declaration

422   bool classIsDerivedFrom(const CXXRecordDecl *Declaration,
775 // declaration which is an explicit or partial specialization of another
776 // template declaration, getAsCXXRecordDecl() returns the corresponding
780 // declaration which is neither an explicit nor partial specialization of
781 // another template declaration, getAsCXXRecordDecl() returns NULL and
782 // we get the CXXRecordDecl of the templated declaration.
801 bool MatchASTVisitor::classIsDerivedFrom(const CXXRecordDecl *Declaration,
804 if (!Declaration->hasDefinition())
806 for (const auto &It : Declaration->bases()) {
815 if (ClassDecl == Declaration) {
817 // current declaration did not match, we can safely return false.