Searched refs:hasTrivialDestructor (Results 1 – 25 of 29) sorted by relevance
12
80 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); } in hasTrivialDestructor() function
76 bool hasTrivialDestructor() const { in hasTrivialDestructor() function135 bool hasTrivialDestructor() const { return Ref.hasTrivialDestructor(); } in hasTrivialDestructor() function
436 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()1283 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()1559 if (BaseClassDecl->hasTrivialDestructor()) in EnterDtorCleanups()1581 if (BaseClassDecl->hasTrivialDestructor()) in EnterDtorCleanups()1695 !ctor->getParent()->hasTrivialDestructor()) { in EmitCXXAggrConstructorCall()1901 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall()1944 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
78 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
258 if (!record->hasTrivialDestructor()) return false; in isSafeForCXXConstantCapture()437 if (!record->hasTrivialDestructor()) { in computeBlockInfo()1539 if (record->hasTrivialDestructor()) in GenerateDestroyHelperFunction()1939 if (!copyExpr && record->hasTrivialDestructor()) return nullptr; in buildByrefHelpers()
97 assert(!record->hasTrivialDestructor()); in EmitDeclDestroy()
269 return RD && !RD->hasTrivialDestructor(); in hasNontrivialDestruction()931 if (!cast<CXXRecordDecl>(RecordTy->getDecl())->hasTrivialDestructor()) { in EmitAutoVarAlloca()
233 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
834 if (!RD->hasTrivialDestructor()) in VisitCXXConstructExpr()
1718 Record->hasTrivialDestructor(); in isTypeConstant()1984 bool NeedsGlobalDtor = RD && !RD->hasTrivialDestructor(); in EmitGlobalVarDefinition()
1440 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
251 if (!ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup()3241 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
966 if (!Record->hasTrivialDestructor()) { in emitThrow()
298 if (!BaseClassDecl->hasTrivialDestructor()) in setBases()413 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable()807 if (!FieldRec->hasTrivialDestructor()) in addedMember()
2456 if (record && record->hasDefinition() && !record->hasTrivialDestructor()) in isDestructedTypeImpl()
3688 else if (CXXRD->hasTrivialDestructor()) in mayInsertExtraPadding()
2757 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
1147 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");
719 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");739 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");
1202 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()1212 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()1230 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()1334 if (!CD->hasTrivialDestructor()) { in addLocalScopeForVarDecl()3480 if (RD->isCompleteDefinition() && !RD->hasTrivialDestructor()) in VisitCXXDeleteExpr()
593 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()613 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
1263 bool hasTrivialDestructor() const { in hasTrivialDestructor() function1317 return hasTrivialDestructor() && in isLiteral()
632 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()
2005 !RD->hasTrivialDestructor(); in InitializationHasSideEffects()5890 if (RD->hasTrivialDestructor()) in findTrivialSpecialMember()9366 Destructor->setTrivial(ClassDecl->hasTrivialDestructor()); in DeclareImplicitDestructor()
5442 } else if (!RD->hasTrivialDestructor()) { in RequireLiteralType()