Lines Matching refs:BaseDecl
1383 if (CXXRecordDecl *BaseDecl = BaseType->getAsCXXRecordDecl()) {
1384 if (BaseDecl->getCanonicalDecl() == Class->getCanonicalDecl() ||
1385 ((BaseDecl = BaseDecl->getDefinition()) &&
1386 findCircularInheritance(Class, BaseDecl))) {
1390 if (BaseDecl->getCanonicalDecl() != Class->getCanonicalDecl())
1391 Diag(BaseDecl->getLocation(), diag::note_previous_decl)
1437 RecordDecl *BaseDecl = BaseType->getAs<RecordType>()->getDecl();
1438 assert(BaseDecl && "Record type has no declaration");
1439 BaseDecl = BaseDecl->getDefinition();
1440 assert(BaseDecl && "Base type is not incomplete, but has no definition");
1441 CXXRecordDecl *CXXBaseDecl = cast<CXXRecordDecl>(BaseDecl);
1468 if (BaseDecl->isInvalidDecl())