Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.h89 unsigned getNumBases() const { return Bases.size(); } in getNumBases() function
91 assert(I < getNumBases()); in getBase()
H A DContext.cpp239 if (CurRecord->getNumBases() == 1) { in getOverridingFunction()
287 assert(CurRecord->getNumBases() > 0); in collectBaseOffset()
H A DPointer.cpp430 unsigned NB = Record->getNumBases(); in toRValue()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp86 if (CXXRD->field_empty() && CXXRD->getNumBases() == 1) in visitRecord()
155 if (!CXXRD->field_empty() && CXXRD->getNumBases() != 0) in shouldSkipDecl()
157 if (CXXRD->field_empty() && CXXRD->getNumBases() != 1) in shouldSkipDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp549 Count += CRD->getNumBases(); in getNumParams()
564 if (N < CRD->getNumBases()) in getParamType()
566 N -= CRD->getNumBases(); in getParamType()
593 if (N < CRD->getNumBases()) in getParamDecl()
595 N -= CRD->getNumBases(); in getParamDecl()
H A DSemaCXXScopeSpec.cpp310 } else if (RD->getNumBases() == 0) { in ActOnSuperScopeSpecifier()
H A DCheckExprLifetime.cpp774 for (; Index < RD->getNumBases() && Index < ILE->getNumInits(); ++Index) in visitLocalsRetainedByInitializer()
H A DSemaInit.cpp1062 InitializableMembers += CXXRD->getNumBases(); in numStructUnionElements()
1099 return CXXRD->getNumBases() == 1 && CXXRD->field_empty(); in isIdiomaticBraceElisionEntity()
1107 if (CXXRD->getNumBases()) { in isIdiomaticBraceElisionEntity()
2891 NumBases = CXXRD->getNumBases(); in CheckDesignatedInitializer()
8284 if (Record->isUnion() || Record->getNumBases() != 0 || in Perform()
H A DSemaTemplateInstantiate.cpp3551 (MD->isVirtualAsWritten() || Instantiation->getNumBases())) in InstantiateClass()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp151 assert(Fields.size() + RD->getNumBases() == Inits.size()); in RecordInitListHelper()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1711 if (D1CXX->getNumBases() != D2CXX->getNumBases()) { in IsStructurallyEquivalent()
1718 << D2CXX->getNumBases(); in IsStructurallyEquivalent()
1720 << D1CXX->getNumBases(); in IsStructurallyEquivalent()
1803 } else if (D1CXX->getNumBases() > 0) { in IsStructurallyEquivalent()
H A DDeclCXX.cpp650 if (!getNumBases()) in hasSubobjectAtOffsetZeroOfEmptyBaseType()
2073 if (getNumBases() > 0) in isInterfaceLike()
2082 if (getNumBases() != 1) in isInterfaceLike()
3489 if (CXXRD->getNumBases()) in isValidStructGUID()
H A DODRHash.cpp606 ID.AddInteger(Record->getNumBases()); in AddCXXRecordDecl()
H A DExprConstant.cpp4912 Result = APValue(APValue::UninitStruct(), RD->getNumBases(), in handleDefaultInitValue()
6388 RD->getNumBases()); in HandleConstructorCall()
6430 Result = APValue(APValue::UninitStruct(), RD->getNumBases(), in HandleConstructorCall()
6564 if (I->isBaseInitializer() && BasesSeen == RD->getNumBases()) in HandleConstructorCall()
6701 unsigned BasesLeft = RD->getNumBases(); in HandleDestructionImpl()
7102 for (size_t I = 0, E = CXXRD->getNumBases(); I != E; ++I) { in visitRecord()
7362 NumBases = CXXRD->getNumBases(); in visit()
7369 for (size_t I = 0, E = CXXRD->getNumBases(); I != E; ++I) { in visit()
10241 Result = APValue(APValue::UninitStruct(), CD ? CD->getNumBases() : 0, in HandleClassZeroInitialization()
10358 CXXRD && CXXRD->getNumBases()); in VisitCXXParenListOrInitListExpr()
[all …]
H A DDeclPrinter.cpp1103 if (D->getNumBases()) { in VisitCXXRecordDecl()
H A DJSONNodeDumper.cpp1008 if (RD->getNumBases()) { in VisitCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp3798 if (RD->getNumBases() != 1) in CanUseSingleInheritance()
3894 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildVTablePointer()
4165 if (!RD->hasDefinition() || !RD->getNumBases()) { in BuildTypeInfo()
4380 Fields.push_back(llvm::ConstantInt::get(UnsignedIntLTy, RD->getNumBases())); in BuildVMIClassTypeInfo()
4382 if (!RD->getNumBases()) in BuildVMIClassTypeInfo()
H A DCGExprAgg.cpp1695 assert(NumInitElements >= CXXRD->getNumBases() && in VisitCXXParenListOrInitListExpr()
1935 while (ILEElement != CXXRD->getNumBases()) in GetNumNonZeroBytesInInit()
H A DCGExprConstant.cpp715 if (CXXRD->getNumBases()) in Build()
830 Bases.reserve(CD->getNumBases()); in Build()
H A DCGExprCXX.cpp1238 NumElements = CXXRD->getNumBases(); in EmitNewArrayInitializer()
H A DMicrosoftCXXABI.cpp1143 if (RD->getNumBases() > 0) in isTrivialForMSVC()
3764 if (Class.RD->getNumBases() > 1) in getClassHierarchyDescriptor()
H A DCGClass.cpp2743 if (RD->getNumBases() != 1) in LeastDerivedClassWithSameLayout()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp2299 return CRD->getNumBases() == 0; in isRecordEmpty()
2570 if (Class->getNumBases() != 0 || Class->getNumVBases() != 0) in tryBindSmallStruct()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1842 num_bases = cxx_record_decl->getNumBases(); in GetNumBaseClasses()
3038 if (cxx_record_decl->getNumBases() || cxx_record_decl->isDynamicClass()) in IsHomogeneousAggregate()
5388 num_children += cxx_record_decl->getNumBases(); in GetNumChildren()
5824 count = cxx_record_decl->getNumBases(); in GetNumDirectBaseClasses()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h613 unsigned getNumBases() const { return data().NumBases; } in getNumBases() function

12