/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Record.h | 89 unsigned getNumBases() const { return Bases.size(); } in getNumBases() function 91 assert(I < getNumBases()); in getBase()
|
H A D | Context.cpp | 239 if (CurRecord->getNumBases() == 1) { in getOverridingFunction() 287 assert(CurRecord->getNumBases() > 0); in collectBaseOffset()
|
H A D | Pointer.cpp | 430 unsigned NB = Record->getNumBases(); in toRValue()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 86 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 D | CodeCompleteConsumer.cpp | 549 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 D | SemaCXXScopeSpec.cpp | 310 } else if (RD->getNumBases() == 0) { in ActOnSuperScopeSpecifier()
|
H A D | CheckExprLifetime.cpp | 774 for (; Index < RD->getNumBases() && Index < ILE->getNumInits(); ++Index) in visitLocalsRetainedByInitializer()
|
H A D | SemaInit.cpp | 1062 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 D | SemaTemplateInstantiate.cpp | 3551 (MD->isVirtualAsWritten() || Instantiation->getNumBases())) in InstantiateClass()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 151 assert(Fields.size() + RD->getNumBases() == Inits.size()); in RecordInitListHelper()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTStructuralEquivalence.cpp | 1711 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 D | DeclCXX.cpp | 650 if (!getNumBases()) in hasSubobjectAtOffsetZeroOfEmptyBaseType() 2073 if (getNumBases() > 0) in isInterfaceLike() 2082 if (getNumBases() != 1) in isInterfaceLike() 3489 if (CXXRD->getNumBases()) in isValidStructGUID()
|
H A D | ODRHash.cpp | 606 ID.AddInteger(Record->getNumBases()); in AddCXXRecordDecl()
|
H A D | ExprConstant.cpp | 4912 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 D | DeclPrinter.cpp | 1103 if (D->getNumBases()) { in VisitCXXRecordDecl()
|
H A D | JSONNodeDumper.cpp | 1008 if (RD->getNumBases()) { in VisitCXXRecordDecl()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ItaniumCXXABI.cpp | 3798 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 D | CGExprAgg.cpp | 1695 assert(NumInitElements >= CXXRD->getNumBases() && in VisitCXXParenListOrInitListExpr() 1935 while (ILEElement != CXXRD->getNumBases()) in GetNumNonZeroBytesInInit()
|
H A D | CGExprConstant.cpp | 715 if (CXXRD->getNumBases()) in Build() 830 Bases.reserve(CD->getNumBases()); in Build()
|
H A D | CGExprCXX.cpp | 1238 NumElements = CXXRD->getNumBases(); in EmitNewArrayInitializer()
|
H A D | MicrosoftCXXABI.cpp | 1143 if (RD->getNumBases() > 0) in isTrivialForMSVC() 3764 if (Class.RD->getNumBases() > 1) in getClassHierarchyDescriptor()
|
H A D | CGClass.cpp | 2743 if (RD->getNumBases() != 1) in LeastDerivedClassWithSameLayout()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 2299 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 D | TypeSystemClang.cpp | 1842 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 D | DeclCXX.h | 613 unsigned getNumBases() const { return data().NumBases; } in getNumBases() function
|