Lines Matching refs:BaseDecl
1379 if (CXXRecordDecl *BaseDecl = BaseType->getAsCXXRecordDecl()) {
1380 if (BaseDecl->getCanonicalDecl() == Class->getCanonicalDecl() ||
1381 ((BaseDecl = BaseDecl->getDefinition()) &&
1382 findCircularInheritance(Class, BaseDecl))) {
1386 if (BaseDecl->getCanonicalDecl() != Class->getCanonicalDecl())
1387 Diag(BaseDecl->getLocation(), diag::note_previous_decl)
1433 RecordDecl *BaseDecl = BaseType->getAs<RecordType>()->getDecl();
1434 assert(BaseDecl && "Record type has no declaration");
1435 BaseDecl = BaseDecl->getDefinition();
1436 assert(BaseDecl && "Base type is not incomplete, but has no definition");
1437 CXXRecordDecl *CXXBaseDecl = cast<CXXRecordDecl>(BaseDecl);
1464 if (BaseDecl->isInvalidDecl())