/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 189 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() 215 const CXXRecordDecl *MemberDecl = RT->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() 394 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 404 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 437 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in CanPlaceFieldSubobjectAtOffset() 447 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 500 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() 509 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() 532 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) { in UpdateEmptyFieldSubobjects() 544 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() [all …]
|
D | VTableBuilder.cpp | 234 VirtualBase = VBaseType->getAsCXXRecordDecl(); in ComputeBaseOffset() 246 const CXXRecordDecl *Base = Element.Base->getType()->getAsCXXRecordDecl(); in ComputeBaseOffset() 348 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in ComputeBaseOffsets() 384 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in dump() 725 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVCallOffsets() 746 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVBaseOffsets() 1746 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutSecondaryVTables() 1820 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in DeterminePrimaryVirtualBases() 1849 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutVTablesForVirtualBases() 2320 RD->vbases_begin()->getType()->getAsCXXRecordDecl(); in computeVTableRelatedInformation() [all …]
|
D | ExprCXX.cpp | 36 if (const CXXRecordDecl *RD = E->getType()->getAsCXXRecordDecl()) in isPotentiallyEvaluated() 67 const CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); in GetUuidAttrOfType() 558 return ThisArg->getType()->getPointeeType()->getAsCXXRecordDecl(); in getRecordDecl() 560 return ThisArg->getType()->getAsCXXRecordDecl(); in getRecordDecl() 1087 return getType()->getAsCXXRecordDecl(); in getLambdaClass() 1416 Record = T->getAsCXXRecordDecl(); in getNamingClass() 1428 Record = BaseType->getAsCXXRecordDecl(); in getNamingClass()
|
D | MicrosoftCXXABI.cpp | 161 RD->bases_begin()->getType()->getAsCXXRecordDecl(); in usesMultipleInheritanceModel()
|
D | DeclCXX.cpp | 220 if (CXXRecordDecl *VBaseDecl = VBase.getType()->getAsCXXRecordDecl()) in setBases() 349 addedClassSubobject(Type->getAsCXXRecordDecl()); in setBases() 711 Field->getType()->getAsCXXRecordDecl()->hasInClassInitializer())) { in addedMember() 1320 if (Base.getType()->getAsCXXRecordDecl()->isAnyDestructorNoReturn()) in isAnyDestructorNoReturn() 1326 Field->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl()) in isAnyDestructorNoReturn()
|
D | ExprConstant.cpp | 1900 const CXXRecordDecl *BaseDecl = Base->getType()->getAsCXXRecordDecl(); in HandleLValueBase() 1910 DerivedDecl = D.MostDerivedType->getAsCXXRecordDecl(); in HandleLValueBase() 1927 if (!HandleLValueBase(Info, E, Result, Type->getAsCXXRecordDecl(), in HandleLValueBasePath() 2109 if (I->getType()->getAsCXXRecordDecl()->getCanonicalDecl() == Base) in getBaseIndex() 2186 CXXRecordDecl *RD = T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl(); in isReadByLvalueToRvalueConversion() 2207 CXXRecordDecl *RD = T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl(); in diagnoseUnreadableFields() 2421 const CXXRecordDecl *Derived = ObjType->getAsCXXRecordDecl(); in findSubobject() 3195 const CXXRecordDecl *RD = LVType->getAsCXXRecordDecl(); in HandleMemberPointerAccess() 3267 const CXXRecordDecl *TargetType = TargetQT->getAsCXXRecordDecl(); in HandleBaseToDerivedCast() 3270 FinalType = D.MostDerivedType->getAsCXXRecordDecl(); in HandleBaseToDerivedCast() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 224 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); in regionMatchesCXXRecordType() 230 Expected = Ty->getAsCXXRecordDecl(); in regionMatchesCXXRecordType() 271 BaseDecl = BaseType->getAsCXXRecordDecl(); in evalDerivedToBase() 289 return TVR->getValueType()->getAsCXXRecordDecl(); in getCXXRecordType() 306 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in evalDynamicCast()
|
D | MemRegion.cpp | 976 const CXXRecordDecl *Class = Super->getValueType()->getAsCXXRecordDecl(); in isValidBaseClass() 984 if (I.getType()->getAsCXXRecordDecl()->getCanonicalDecl() == BaseClass) in isValidBaseClass() 1185 if (I.getType()->getAsCXXRecordDecl() == Base) in isImmediateBase() 1256 const CXXRecordDecl *Child = Ty->getAsCXXRecordDecl(); in getAsOffset()
|
D | CallEvent.cpp | 436 const CXXRecordDecl *ParentRecord = Ex->getType()->getAsCXXRecordDecl(); in getExtraInvalidatedValues() 486 const CXXRecordDecl *RD = RegionType->getAsCXXRecordDecl(); in getRuntimeDefinition()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 747 static CXXRecordDecl *getAsCXXRecordDecl(const Type *TypeNode) { in getAsCXXRecordDecl() function 758 return TypeNode->getAsCXXRecordDecl(); in getAsCXXRecordDecl() 774 CXXRecordDecl *SpecializationDecl = TemplateType->getAsCXXRecordDecl(); in getAsCXXRecordDecl() 786 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl() 803 CXXRecordDecl *ClassDecl = getAsCXXRecordDecl(TypeNode); in classIsDerivedFrom()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 455 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in accumulateBases() 481 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in accumulateVBases() 494 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in accumulateVBases() 522 if (!hasOwnStorage(Base.getType()->getAsCXXRecordDecl(), Query)) in hasOwnStorage()
|
D | MicrosoftCXXABI.cpp | 329 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in getAddrOfVirtualDisplacementMap() 921 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() 934 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in performBaseAdjustment() 953 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() 987 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() 1080 const CXXRecordDecl *RD = FI.getReturnType()->getAsCXXRecordDecl(); in classifyReturnType() 1768 const CXXRecordDecl *Base = B.getType()->getAsCXXRecordDecl(); in getClassAtVTableLocation() 1776 const CXXRecordDecl *Base = B.getType()->getAsCXXRecordDecl(); in getClassAtVTableLocation() 2010 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in emitVBTableDefinition() 2646 if (BS.getType()->getAsCXXRecordDecl()->getCanonicalDecl() == in EmitMemberPointer() [all …]
|
D | CGCXXABI.cpp | 276 derivedType->castAs<MemberPointerType>()->getClass()->getAsCXXRecordDecl(); in getMemberPointerAdjustment()
|
D | CGClass.cpp | 141 memberPtrType->getClass()->getAsCXXRecordDecl(), in EmitCXXMemberDataPointerAddress() 1877 CXXRecordDecl *BaseClassDecl = Base.getType()->getAsCXXRecordDecl(); in EnterDtorCleanups() 2300 CXXRecordDecl *ClassDecl = T->getAsCXXRecordDecl(); in PushDestructorCleanup() 2487 RD->bases_begin()->getType()->getAsCXXRecordDecl()); in LeastDerivedClassWithSameLayout() 2724 const CXXRecordDecl *Lambda = variable->getType()->getAsCXXRecordDecl(); in EmitLambdaBlockInvokeBody()
|
D | CGBlocks.cpp | 420 variable->getType()->getAsCXXRecordDecl()) { in computeBlockInfo() 1470 if (CI.isByRef() && variable->getType()->getAsCXXRecordDecl()) { in GenerateCopyHelperFunction() 1562 } else if (const CXXRecordDecl *record = type->getAsCXXRecordDecl()) { in GenerateDestroyHelperFunction() 1953 if (const CXXRecordDecl *record = type->getAsCXXRecordDecl()) { in buildByrefHelpers()
|
D | CGDecl.cpp | 274 CXXRecordDecl *RD = T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl(); in hasNontrivialDestruction() 1337 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); in emitAutoVarTypeCleanup() 1775 const CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); in EmitParmDecl()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 693 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl(); in collectPublicBases() 759 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); in CheckCXXThrowOperand() 982 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl(); in isThisOutsideMemberFunctionBody() 3572 if (const auto *RD = ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness() 3582 if (ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness() 3752 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() 3756 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() 3760 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() 3770 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() 3800 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() [all …]
|
D | SemaCoroutine.cpp | 71 CXXRecordDecl *RD = CoroTrait->getAsCXXRecordDecl(); in lookupPromiseType() 87 if (!PromiseType->getAsCXXRecordDecl()) { in lookupPromiseType()
|
D | SemaFixItUtils.cpp | 209 const CXXRecordDecl *RD = T->getAsCXXRecordDecl(); in getFixItZeroInitializerForType()
|
D | SemaDeclCXX.cpp | 992 ? !Field->getType()->getAsCXXRecordDecl()->hasVariantMembers() in CheckConstexprCtorInitializer() 993 : Field->getType()->getAsCXXRecordDecl()->isEmpty())) in CheckConstexprCtorInitializer() 1323 CXXRecordDecl *Base = I.getType()->getAsCXXRecordDecl(); in findCircularInheritance() 1379 if (CXXRecordDecl *BaseDecl = BaseType->getAsCXXRecordDecl()) { in CheckBaseSpecifier() 1416 BaseType->getAsCXXRecordDecl())) { in CheckBaseSpecifier() 1541 auto Decl = Rec->getAsCXXRecordDecl(); in NoteIndirectBases() 1634 = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths); in AttachBaseSpecifiers() 1672 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl(); in IsDerivedFrom() 1676 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() 1700 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl(); in IsDerivedFrom() [all …]
|
D | SemaCast.cpp | 409 auto DeclFrom = RecFrom->getAsCXXRecordDecl(); in diagnoseBadCast() 413 auto DeclTo = RecTo->getAsCXXRecordDecl(); in diagnoseBadCast() 753 SrcPointeeRD ? SrcPointeeRD : SrcType->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() 793 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast()
|
/external/clang/tools/libclang/ |
D | IndexTypeSourceInfo.cpp | 76 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in VisitTemplateSpecializationTypeLoc()
|
D | CXType.cpp | 914 const CXXRecordDecl *RecordDecl = T->getAsCXXRecordDecl(); in clang_Type_getNumTemplateArguments() 928 const CXXRecordDecl *RecordDecl = T->getAsCXXRecordDecl(); in clang_Type_getTemplateArgumentAsType()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 1242 if (Ty->getAsCXXRecordDecl()->isAnyDestructorNoReturn()) in addAutomaticObjDtors() 1260 const CXXRecordDecl *CD = VI.getType()->getAsCXXRecordDecl(); in addImplicitDtorsForDestructor() 1270 const CXXRecordDecl *CD = BI.getType()->getAsCXXRecordDecl(); in addImplicitDtorsForDestructor() 1288 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl()) in addImplicitDtorsForDestructor() 1390 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl()) in addLocalScopeForVarDecl() 3555 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr() 3887 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl() 4239 OS << I->getBaseClass()->getAsCXXRecordDecl()->getName(); in print_elem() 4241 OS << I->getTypeSourceInfo()->getType()->getAsCXXRecordDecl()->getName(); in print_elem() 4265 OS << ".~" << T->getAsCXXRecordDecl()->getName().str() << "()"; in print_elem() [all …]
|
D | Consumed.cpp | 145 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isConsumableType() 155 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isAutoCastType() 196 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>(); in mapConsumableAttrState() 1234 const CXXRecordDecl *RD = ReturnType->getAsCXXRecordDecl(); in determineExpectedReturnState()
|