/external/clang/lib/AST/ |
CXXInheritance.cpp | 89 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl(); 92 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { 93 return FindBaseClass(Specifier, Path, BaseDecl); 110 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl(); 113 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { 114 return FindVirtualBaseClass(Specifier, Path, BaseDecl); 485 const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(RT->getDecl()); 486 if (!BaseDecl->isPolymorphic()) 492 Collect(BaseDecl, false, InVirtualSubobject, Overriders); 504 CXXFinalOverriderMap *&MyVirtualOverriders = VirtualOverriders[BaseDecl]; [all...] |
VTTBuilder.cpp | 64 const CXXRecordDecl *BaseDecl = 69 Layout.getBaseClassOffset(BaseDecl); 72 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/false); 90 const CXXRecordDecl *BaseDecl = 100 if (!BaseDecl->isDynamicClass()) 108 if (!VBases.insert(BaseDecl).second) 111 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); 117 Layout.getBaseClassOffset(BaseDecl); 120 Layout.getPrimaryBase() == BaseDecl) 130 (BaseDecl->getNumVBases() || BaseDeclIsMorallyVirtual)) [all...] |
RecordLayoutBuilder.cpp | 189 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); 192 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl); 193 if (BaseDecl->isEmpty()) { 394 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); 396 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); 397 if (!CanPlaceFieldSubobjectAtOffset(BaseDecl, Class, BaseOffset)) 500 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); 502 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); 503 UpdateEmptyFieldSubobjects(BaseDecl, Class, BaseOffset); 921 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl() [all...] |
VTableBuilder.cpp | 348 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); 354 if (SubobjectOffsets.count(std::make_pair(BaseDecl, 0))) 360 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); 362 LayoutClassLayout.getVBaseClassOffset(BaseDecl); 365 CharUnits Offset = Layout.getBaseClassOffset(BaseDecl); 371 ComputeBaseOffsets(BaseSubobject(BaseDecl, BaseOffset), 384 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); 387 if (!BaseDecl->isPolymorphic()) 392 if (!VisitedVirtualBases.insert(BaseDecl).second) { 397 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); [all...] |
ExprConstant.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
Store.cpp | 269 const CXXRecordDecl *BaseDecl = BaseType->getPointeeCXXRecordDecl(); 270 if (!BaseDecl) 271 BaseDecl = BaseType->getAsCXXRecordDecl(); 272 assert(BaseDecl && "not a C++ object?"); 275 MRMgr.getCXXBaseObjectRegion(BaseDecl, DerivedRegVal->getRegion(),
|
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 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() [all...] |
CGClass.cpp | 70 const CXXRecordDecl *baseDecl, 74 if (!baseDecl->isCompleteDefinition()) 77 auto &baseLayout = getContext().getASTRecordLayout(baseDecl); 161 const CXXRecordDecl *BaseDecl = 165 Offset += Layout.getBaseClassOffset(BaseDecl); 167 RD = BaseDecl; [all...] |
ItaniumCXXABI.cpp | [all...] |
MicrosoftCXXABI.cpp | [all...] |
/external/clang/test/SemaCXX/ |
typo-correction.cpp | 114 struct BaseDecl { 117 struct TestRedecl : public BaseDecl {
|
/external/clang/lib/Sema/ |
SemaExprCXX.cpp | 693 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl(); 698 NewSubobject = VBases.insert(BaseDecl).second; 703 ++SubobjectsSeen[BaseDecl]; 708 PublicSubobjectsSeen.insert(BaseDecl); 711 collectPublicBases(BaseDecl, SubobjectsSeen, VBases, PublicSubobjectsSeen, [all...] |
SemaInit.cpp | [all...] |
SemaDeclCXX.cpp | [all...] |