Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DRecordLayoutBuilder.cpp189 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 …]
DVTableBuilder.cpp234 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 …]
DExprCXX.cpp36 if (const CXXRecordDecl *RD = E->getType()->getAsCXXRecordDecl()) in isPotentiallyEvaluated()
487 return ThisArg->getType()->getPointeeType()->getAsCXXRecordDecl(); in getRecordDecl()
489 return ThisArg->getType()->getAsCXXRecordDecl(); in getRecordDecl()
996 return getType()->getAsCXXRecordDecl(); in getLambdaClass()
1290 Record = T->getAsCXXRecordDecl(); in getNamingClass()
1302 Record = BaseType->getAsCXXRecordDecl(); in getNamingClass()
DDeclCXX.cpp227 if (CXXRecordDecl *VBaseDecl = VBase.getType()->getAsCXXRecordDecl()) in setBases()
367 addedClassSubobject(Type->getAsCXXRecordDecl()); in setBases()
742 if (CXXRecordDecl *FieldType = Field->getType()->getAsCXXRecordDecl()) { in addedMember()
756 Field->getType()->getAsCXXRecordDecl()->hasInClassInitializer())) { in addedMember()
1388 if (Base.getType()->getAsCXXRecordDecl()->isAnyDestructorNoReturn()) in isAnyDestructorNoReturn()
1394 Field->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl()) in isAnyDestructorNoReturn()
DMicrosoftCXXABI.cpp161 RD->bases_begin()->getType()->getAsCXXRecordDecl(); in usesMultipleInheritanceModel()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp224 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()
DMemRegion.cpp1030 const CXXRecordDecl *Class = Super->getValueType()->getAsCXXRecordDecl(); in isValidBaseClass()
1038 if (I.getType()->getAsCXXRecordDecl()->getCanonicalDecl() == BaseClass) in isValidBaseClass()
1239 if (I.getType()->getAsCXXRecordDecl() == Base) in isImmediateBase()
1310 const CXXRecordDecl *Child = Ty->getAsCXXRecordDecl(); in getAsOffset()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp474 ->getAsCXXRecordDecl(); in CheckVirtualMethods()
636 auto* record_decl = type->getAsCXXRecordDecl(); in CountType()
939 if (arg.getAsType().getTypePtr()->getAsCXXRecordDecl() == in CheckWeakPtrFactoryMembers()
940 record->getTypeForDecl()->getAsCXXRecordDecl()) { in CheckWeakPtrFactoryMembers()
DChromeClassTester.cpp202 CXXRecordDecl* base_record = base.getType()->getAsCXXRecordDecl(); in HasIgnoredBases()
/external/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp72 CXXRecordDecl* decl = base->getPointeeType()->getAsCXXRecordDecl(); in VisitCallExpr()
229 callee_record = type->getAsCXXRecordDecl(); in CheckTraceBaseCall()
DBlinkGCPluginConsumer.cpp277 left_most_base = it->getType()->getAsCXXRecordDecl(); in CheckPolymorphicClass()
323 if (CXXRecordDecl* next_base = it->getType()->getAsCXXRecordDecl()) { in CheckPolymorphicClass()
344 left_most = it->getType()->getAsCXXRecordDecl(); in GetLeftMostBase()
DRecordInfo.h180 return Lookup(type->getAsCXXRecordDecl()); in Lookup()
DConfig.h188 formal_type->getPointeeType()->getAsCXXRecordDecl(); in IsVisitorPtrType()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp455 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()
DMicrosoftCXXABI.cpp329 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()
952 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked()
986 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked()
1079 const CXXRecordDecl *RD = FI.getReturnType()->getAsCXXRecordDecl(); in classifyReturnType()
1767 const CXXRecordDecl *Base = B.getType()->getAsCXXRecordDecl(); in getClassAtVTableLocation()
1775 const CXXRecordDecl *Base = B.getType()->getAsCXXRecordDecl(); in getClassAtVTableLocation()
2015 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in emitVBTableDefinition()
2654 if (BS.getType()->getAsCXXRecordDecl()->getCanonicalDecl() == in EmitMemberPointer()
[all …]
DSwiftCallingConv.cpp136 auto baseRecord = baseSpecifier.getType()->getAsCXXRecordDecl(); in addTypedData()
161 auto baseRecord = vbaseSpecifier.getType()->getAsCXXRecordDecl(); in addTypedData()
/external/clang/lib/Sema/
DSemaCUDA.cpp418 if (CXXRecordDecl *RD = BS.getType()->getAsCXXRecordDecl()) in isEmptyCudaDestructor()
428 ->getAsCXXRecordDecl()) in isEmptyCudaDestructor()
DSemaExprCXX.cpp523 const auto *RD = Ty->getAsCXXRecordDecl(); in getUuidAttrOfType()
734 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl(); in collectPublicBases()
800 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); in CheckCXXThrowOperand()
1208 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl(); in isThisOutsideMemberFunctionBody()
3832 if (const auto *RD = ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness()
3842 if (ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness()
4012 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
4016 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
4020 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
4030 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
[all …]
DSemaCoroutine.cpp71 CXXRecordDecl *RD = CoroTrait->getAsCXXRecordDecl(); in lookupPromiseType()
87 if (!PromiseType->getAsCXXRecordDecl()) { in lookupPromiseType()
DSemaFixItUtils.cpp209 const CXXRecordDecl *RD = T->getAsCXXRecordDecl(); in getFixItZeroInitializerForType()
DSemaDeclCXX.cpp992 ? !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 …]
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp261 TD = Type->getAsCXXRecordDecl(); in getFullyQualifiedNestedNameSpecifier()
346 Decl = TypePtr->getAsCXXRecordDecl(); in createNestedNameSpecifierForScopeOf()
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp110 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in VisitTemplateSpecializationTypeLoc()
/external/clang/lib/Analysis/
DCFG.cpp1242 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()
3587 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr()
3919 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
4271 OS << I->getBaseClass()->getAsCXXRecordDecl()->getName(); in print_elem()
4273 OS << I->getTypeSourceInfo()->getType()->getAsCXXRecordDecl()->getName(); in print_elem()
4297 OS << ".~" << T->getAsCXXRecordDecl()->getName().str() << "()"; in print_elem()
[all …]
DConsumed.cpp145 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isConsumableType()
155 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isAutoCastType()
196 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>(); in mapConsumableAttrState()
1240 const CXXRecordDecl *RD = ReturnType->getAsCXXRecordDecl(); in determineExpectedReturnState()

123