Lines Matching refs:BaseDecl
444 const CXXRecordDecl *BaseDecl = Layout.getPrimaryBase();
446 getStorageType(BaseDecl), BaseDecl));
455 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
456 if (!BaseDecl->isEmpty() &&
457 !Context.getASTRecordLayout(BaseDecl).getNonVirtualSize().isZero())
458 Members.push_back(MemberInfo(Layout.getBaseClassOffset(BaseDecl),
459 MemberInfo::Base, getStorageType(BaseDecl), BaseDecl));
481 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
482 if (BaseDecl->isEmpty())
486 if (Context.isNearlyEmpty(BaseDecl) && !hasOwnStorage(RD, BaseDecl))
489 Layout.getVBaseClassOffset(BaseDecl));
494 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
495 if (BaseDecl->isEmpty())
497 CharUnits Offset = Layout.getVBaseClassOffset(BaseDecl);
501 Context.isNearlyEmpty(BaseDecl) &&
502 !hasOwnStorage(RD, BaseDecl)) {
504 BaseDecl));
508 if (Layout.getVBaseOffsetsMap().find(BaseDecl)->second.hasVtorDisp())
512 getStorageType(BaseDecl), BaseDecl));