Home
last modified time | relevance | path

Searched refs:getNumVBases (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/AST/
DVTTBuilder.cpp88 if (!RD->getNumVBases() && !BaseIsMorallyVirtual) in LayoutSecondaryVirtualPointers()
133 (BaseDecl->getNumVBases() || BaseDeclIsMorallyVirtual)) { in LayoutSecondaryVirtualPointers()
175 if (BaseDecl->getNumVBases()) in LayoutVirtualVTTs()
186 if (RD->getNumVBases() == 0) in LayoutVTT()
DCXXInheritance.cpp98 if (!getNumVBases()) in isVirtuallyDerivedFrom()
715 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases()
725 if (!getNumVBases()) in getIndirectPrimaryBases()
738 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
DRecordLayoutBuilder.cpp874 if (RD->getNumVBases() != 0) { in DeterminePrimaryBase()
920 if (RD->getNumVBases()) { in ComputeBaseSubobjectInfo()
1077 if (BaseDecl->getNumVBases()) in LayoutNonVirtualBases()
1140 if (!Info->Class->getNumVBases()) in AddPrimaryVirtualBaseOffsets()
1198 if (RD->getNumVBases() == 0) return true; in needsVFTable()
1257 assert(RD->getNumVBases()); in computeVtordisps()
1399 if (!base->getNumVBases()) return true; in isPossiblePrimaryBase()
1454 if (!BaseDecl->getNumVBases()) { in LayoutVirtualBases()
1464 if (!RD->getNumVBases()) in MSLayoutVirtualBases()
2100 if (isMicrosoftCXXABI() && RD->getNumVBases()) in FinishLayout()
DMicrosoftCXXABI.cpp89 if (this->getNumVBases() > 0) in getMSInheritanceModel()
DVTableBuilder.cpp1806 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables()
1926 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases()
2128 if (MostDerivedClass->getNumVBases()) { in dumpLayout()
2378 if (!RD->getNumVBases()) in computeVTableRelatedInformation()
DExprConstant.cpp3512 if (RD->getNumVBases()) { in HandleConstructorCall()
4858 if (isa<CXXRecordDecl>(RD) && cast<CXXRecordDecl>(RD)->getNumVBases()) { in ZeroInitialization()
/external/clang/lib/CodeGen/
DMicrosoftVBTables.cpp83 if (!Base->getNumVBases()) in findUnambiguousPaths()
179 llvm::ArrayType::get(CGM.IntTy, 1 + ReusingBase->getNumVBases()); in getAddrOfVBTable()
193 assert(RD->getNumVBases() && ReusingBase->getNumVBases() && in EmitVBTableDefinition()
DCGCXX.cpp45 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias()
181 !ctor->getParent()->getNumVBases() && in EmitCXXConstructor()
222 !dtor->getParent()->getNumVBases() && in EmitCXXDestructor()
257 if (dtorType == Dtor_Complete && dtor->getParent()->getNumVBases() == 0 && in GetAddrOfCXXDestructor()
DMicrosoftCXXABI.cpp298 if (!I->isVirtual() && Base->getNumVBases() > 0) in FindFirstNVBaseWithVBases()
305 assert(RD->getNumVBases()); in GetVBPtrOffsetFromBases()
351 if (Class->getNumVBases()) { in BuildConstructorSignature()
441 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in BuildInstanceFunctionParams()
475 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in EmitInstanceFunctionProlog()
507 if (D->getParent()->getNumVBases()) { in EmitConstructorCall()
1018 if (RD->getNumVBases()) { in AdjustVirtualBase()
DCGVTT.cpp100 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
DCGRecordLayoutBuilder.cpp598 if (!RD->getNumVBases()) in MSLayoutVirtualBases()
637 if (!BaseDecl->getNumVBases()) { in LayoutVirtualBases()
DItaniumCXXABI.cpp773 if (Type == Ctor_Base && Ctor->getParent()->getNumVBases() != 0) in BuildConstructorSignature()
805 if (Type == Dtor_Base && Dtor->getParent()->getNumVBases() != 0) in BuildDestructorSignature()
1440 if (!MD->getParent()->getNumVBases()) in NeedsVTTParameter()
DCGClass.cpp665 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
1108 if (ClassDecl->getNumVBases() && in EmitCtorPrologue()
1865 if (NeedsVTTParam && (RD->getNumVBases() || NearestVBase)) { in InitializeVTablePointer()
DCGVTables.cpp840 if (RD->getNumVBases()) in GenerateClassData()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp753 if (RD->getNumVBases()) { in CheckConstexprFunctionDecl()
756 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDecl()
1123 assert(RD->getNumVBases() == 0 && "constexpr ctor with virtual bases"); in CheckConstexprFunctionBody()
4262 !Record->isLiteral() && !Record->getNumVBases()) { in CheckCompletedCXXClass()
4364 if (Ctor && ClassDecl->getNumVBases()) in defaultedSpecialMemberIsConstexpr()
5493 if (RD->getNumVBases()) { in SpecialMemberIsTrivial()
12038 if (RD->getNumVBases() == 0) in MarkVirtualMembersReferenced()
12045 if (Base->getNumVBases() == 0) in MarkVirtualMembersReferenced()
DSemaType.cpp5132 if (RD->getNumVBases()) { in RequireLiteralType()
5134 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
DSemaDecl.cpp11740 if (CXXRecord->getNumVBases()) { in ActOnFields()
/external/clang/include/clang/AST/
DDeclCXX.h700 unsigned getNumVBases() const { return data().NumVBases; } in getNumVBases() function
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp2063 if (Class->getNumBases() != 0 || Class->getNumVBases() != 0) in tryBindSmallStruct()