Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:Declaration

366   virtual bool classIsDerivedFrom(const CXXRecordDecl *Declaration,
553 bool MatchASTVisitor::classIsDerivedFrom(const CXXRecordDecl *Declaration,
556 if (!Declaration->hasDefinition())
559 for (BaseIterator It = Declaration->bases_begin(),
560 End = Declaration->bases_end(); It != End; ++It) {
583 // declaration which is an explicit or partial specialization of another
584 // template declaration, getAsCXXRecordDecl() returns the corresponding
588 // declaration which is neither an explicit nor partial specialization of
589 // another template declaration, getAsCXXRecordDecl() returns NULL and
590 // we get the CXXRecordDecl of the templated declaration.
604 if (ClassDecl == Declaration) {
606 // current declaration did not match, we can safely return false.