Searched refs:hasTrivialDestructor (Results 1 – 25 of 25) sorted by relevance
62 return cxx_r->hasTrivialDestructor(); in TypeHasNonTrivialDtor()248 if (dtor_score >= 10 && !record->hasTrivialDestructor()) { in CheckCtorDtorWeight()
422 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()1158 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()1445 if (BaseClassDecl->hasTrivialDestructor()) in EnterDtorCleanups()1470 if (BaseClassDecl->hasTrivialDestructor()) in EnterDtorCleanups()1594 !ctor->getParent()->hasTrivialDestructor()) { in EmitCXXAggrConstructorCall()1789 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall()1844 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
70 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
252 if (!record->hasTrivialDestructor()) return false; in isSafeForCXXConstantCapture()433 if (!record->hasTrivialDestructor()) { in computeBlockInfo()1526 if (record->hasTrivialDestructor()) in GenerateDestroyHelperFunction()1928 if (!copyExpr && record->hasTrivialDestructor()) return 0; in buildByrefHelpers()
95 assert(!record->hasTrivialDestructor()); in EmitDeclDestroy()
51 return !RD->hasTrivialDestructor() || RD->hasNonTrivialCopyConstructor(); in isReturnTypeIndirect()57 if (!RD->hasTrivialDestructor() || RD->hasNonTrivialCopyConstructor()) in getRecordArgABI()
222 return RD && !RD->hasTrivialDestructor(); in hasNontrivialDestruction()887 if (!cast<CXXRecordDecl>(RecordTy->getDecl())->hasTrivialDestructor()) { in EmitAutoVarAlloca()
471 if (!Record->hasTrivialDestructor()) { in EmitCXXThrowExpr()
228 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
1485 Record->hasTrivialDestructor(); in isTypeConstant()1715 bool NeedsGlobalDtor = RD && !RD->hasTrivialDestructor(); in EmitGlobalVarDefinition()
826 if (!RD->hasTrivialDestructor()) in VisitCXXConstructExpr()
248 if (!ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup()2985 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
1413 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
283 if (!BaseClassDecl->hasTrivialDestructor()) in setBases()394 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable()765 if (!FieldRec->hasTrivialDestructor()) in addedMember()
2431 if (record && record->hasDefinition() && !record->hasTrivialDestructor()) in isDestructedTypeImpl()
2614 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
4609 if (!copyExpr && record->hasTrivialDestructor()) return false; in BlockRequiresCopying()
197 if (!Init->isGLValue() && !Record->hasTrivialDestructor()) in GetDiagForGotoScopeDecl()
1767 !RD->hasTrivialDestructor(); in InitializationHasSideEffects()5155 if (RD->hasTrivialDestructor()) in findTrivialSpecialMember()8383 Destructor->setTrivial(ClassDecl->hasTrivialDestructor()); in DeclareImplicitDestructor()
5162 } else if (!RD->hasTrivialDestructor()) { in RequireLiteralType()
3306 return RD->hasTrivialDestructor(); in EvaluateUnaryTypeTrait()
1326 if (!RD->hasTrivialDestructor() && !RD->hasAttr<WarnUnusedAttr>()) in ShouldDiagnoseUnusedDecl()8650 if (!(RD && !RD->hasTrivialDestructor()) && in CheckCompleteVariableDeclaration()
1194 bool hasTrivialDestructor() const { in hasTrivialDestructor() function1248 return hasTrivialDestructor() && in isLiteral()
868 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()879 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()898 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()1005 if (!CD->hasTrivialDestructor()) { in addLocalScopeForVarDecl()
632 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()