Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTTBuilder.cpp89 if (!RD->getNumVBases() && !BaseIsMorallyVirtual) in LayoutSecondaryVirtualPointers()
133 (BaseDecl->getNumVBases() || BaseDeclIsMorallyVirtual)) { in LayoutSecondaryVirtualPointers()
174 if (BaseDecl->getNumVBases()) in LayoutVirtualVTTs()
185 if (RD->getNumVBases() == 0) in LayoutVTT()
H A DCXXInheritance.cpp90 if (!getNumVBases()) in isVirtuallyDerivedFrom()
696 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases()
706 if (!getNumVBases()) in getIndirectPrimaryBases()
718 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
H A DVTableBuilder.cpp1813 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables()
1930 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases()
2152 if (MostDerivedClass->getNumVBases()) { in dumpLayout()
2441 if (!RD->getNumVBases()) in computeVTableRelatedInformation()
H A DRecordLayoutBuilder.cpp898 if (RD->getNumVBases() != 0) { in DeterminePrimaryBase()
942 if (RD->getNumVBases()) { in ComputeBaseSubobjectInfo()
1121 if (!Info->Class->getNumVBases()) in AddPrimaryVirtualBaseOffsets()
1188 if (!BaseDecl->getNumVBases()) { in LayoutVirtualBases()
H A DDeclCXX.cpp2054 getNumVBases() > 0 || conversion_end() - conversion_begin() > 0) in isInterfaceLike()
H A DExprConstant.cpp5836 if (!Class || Class->getNumVBases()) { in ComputeDynamicType()
6380 if (RD->getNumVBases()) { in HandleConstructorCall()
6662 if (RD->getNumVBases()) { in HandleDestructionImpl()
10301 if (isa<CXXRecordDecl>(RD) && cast<CXXRecordDecl>(RD)->getNumVBases()) { in ZeroInitialization()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp67 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias()
230 MD->getParent()->getNumVBases() == 0) in getAddrAndTypeOfCXXStructor()
H A DMicrosoftCXXABI.cpp93 if (CD->getParent()->getNumVBases() > 0 && in getSrcArgforCopyCtor()
368 unsigned NumEntries = 1 + SrcRD->getNumVBases(); in getAddrOfVirtualDisplacementMap()
1364 if (Class->getNumVBases()) { in buildStructorSignature()
1431 if (D->getParent()->getNumVBases() > 0 && D->hasAttr<DLLExportAttr>()) in EmitCXXDestructors()
1545 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in addImplicitStructorParams()
1608 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in EmitInstanceFunctionProlog()
1633 if (!D->getParent()->getNumVBases()) in getImplicitConstructorArgs()
1664 if (Type == Dtor_Complete && DD->getParent()->getNumVBases() == 0) in EmitDestructorCall()
1796 assert(Base.getBase()->getNumVBases() && in getVTableAddressPointInStructor()
2159 llvm::ArrayType::get(CGM.IntTy, 1 + VBT.ObjectWithVPtr->getNumVBases()); in getAddrOfVBTable()
[all …]
H A DCGVTT.cpp118 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
H A DCGCXXABI.cpp143 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case in buildThisParam()
H A DCGClass.cpp745 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
1291 ClassDecl->getNumVBases() != 0 && in EmitCtorPrologue()
1889 SanOpts.has(SanitizerKind::Memory) && ClassDecl->getNumVBases() && in EnterDtorCleanups()
1921 SanOpts.has(SanitizerKind::Memory) && !ClassDecl->getNumVBases() && in EnterDtorCleanups()
2684 if (RD->getNumVBases()) in InitializeVTablePointers()
2740 if (RD->getNumVBases() != 0) in LeastDerivedClassWithSameLayout()
H A DCodeGenTBAA.cpp435 if (CodeGenOpts.NewStructPathTBAA && CXXRD->getNumVBases() != 0) in getBaseTypeInfoHelper()
H A DItaniumCXXABI.cpp1844 cast<CXXMethodDecl>(GD.getDecl())->getParent()->getNumVBases() != 0) { in buildStructorSignature()
2072 if ((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructor()
2113 assert((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructorWithVTT()
2300 if (RD->getNumVBases()) { in canSpeculativelyEmitVTableAsBaseClass()
3323 if (!MD->getParent()->getNumVBases()) in NeedsVTTParameter()
4610 if (MD->getParent()->getNumVBases()) in getCodegenToUse()
H A DCGVTables.cpp1192 if (RD->getNumVBases()) in GenerateClassData()
H A DCGCall.cpp578 if (RD->getNumVBases() > 0) in arrangeMSCtorClosure()
H A DCodeGenModule.cpp4781 DD->getParent()->getNumVBases() == 0) in GetAddrOfFunction()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp160 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp1798 if (RD->getNumVBases()) { in CheckConstexprFunctionDefinition()
1804 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDefinition()
2345 assert(RD->getNumVBases() == 0 && "constexpr ctor with virtual bases"); in CheckConstexprFunctionBody()
7401 if (Ctor && ClassDecl->getNumVBases()) in defaultedSpecialMemberIsConstexpr()
7742 if (!MD->isConsteval() && RD->getNumVBases()) { in CheckExplicitlyDefaultedSpecialMember()
10174 if (RD->getNumVBases()) { in SpecialMemberIsTrivial()
12518 if (!Derived->getNumVBases()) in isVirtualDirectBase()
14233 assert(ClassDecl->getNumVBases() > 0 && in CheckCompleteDestructorVariant()
15192 if (Class->getNumVBases() == 0 || Class->hasTrivialMoveAssignment() || in checkMoveAssignmentForRepeatedMove()
15212 if (!BaseSpec->isVirtual() && !Base->getNumVBases()) in checkMoveAssignmentForRepeatedMove()
[all …]
H A DSemaType.cpp9289 if (RD->getNumVBases()) { in RequireLiteralType()
9291 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
H A DSemaDecl.cpp18936 if (CXXRecord && CXXRecord->getNumVBases() != 0) in ActOnFields()
19106 if (CXXRecord->getNumVBases()) { in ActOnFields()
H A DSemaExpr.cpp18107 if (Parent->getNumVBases() > 0 && !Dtor->getBody()) in MarkFunctionReferenced()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp2570 if (Class->getNumBases() != 0 || Class->getNumVBases() != 0) in tryBindSmallStruct()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h634 unsigned getNumVBases() const { return data().NumVBases; } in getNumVBases() function
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1216 CXXRD && CXXRD->getNumVBases() > 0) { in VisitImplicitValueInitExpr()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp5876 count = cxx_record_decl->getNumVBases(); in GetNumVirtualBaseClasses()