Home
last modified time | relevance | path

Searched refs:needsDestruction (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp186 if (d.needsDestruction(getContext())) in emitAutoVarCleanups()
387 d.needsDestruction(getContext()) == QualType::DK_cxx_destructor; in addInitializerToStaticVarDecl()
H A DCIRGenCall.cpp271 param->needsDestruction(getContext())) { in emitDelegateCallArg()
H A DCIRGenModule.cpp679 vd->needsDestruction(astContext) || in emitGlobalVarDefinition()
728 if (vd->needsDestruction(astContext) == QualType::DK_cxx_destructor) in emitGlobalVarDefinition()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.cpp162 if (VD->needsDestruction(getContext())) in mayNeedDestruction()
H A DCGDeclCXX.cpp80 QualType::DestructionKind DtorKind = D.needsDestruction(CGF.getContext()); in EmitDeclDestroy()
218 D.needsDestruction(getContext()) == QualType::DK_cxx_destructor; in EmitCXXGlobalVarDeclInit()
H A DCGDecl.cpp383 D.needsDestruction(getContext()) == QualType::DK_cxx_destructor; in AddInitializerToStaticVarDecl()
1537 D.needsDestruction(getContext()) == QualType::DK_cxx_destructor; in EmitAutoVarAlloca()
2217 if (QualType::DestructionKind dtorKind = D.needsDestruction(getContext())) in EmitAutoVarCleanups()
2732 D.needsDestruction(getContext())) { in EmitParmDecl()
H A DCGClass.cpp2190 if (P->needsDestruction(CGF.getContext())) in canEmitDelegateCallArgs()
H A DCodeGenModule.cpp5718 D->needsDestruction(getContext()) == QualType::DK_cxx_destructor; in EmitGlobalVarDefinition()
5728 D->needsDestruction(getContext()) || in EmitGlobalVarDefinition()
H A DCGCall.cpp4272 param->needsDestruction(getContext())) { in EmitDelegateCallArg()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp1229 Var->needsDestruction(Outer.S.getASTContext()); in VisitVarDecl()
H A DSemaExceptionSpec.cpp1061 if (VD->needsDestruction(Self.Context) == QualType::DK_cxx_destructor) { in canVarDeclThrow()
H A DSema.cpp1907 VD->needsDestruction(S.Context)) { in VisitDeclStmt()
H A DSemaDeclCXX.cpp16343 if (!VD->hasGlobalStorage() || !VD->needsDestruction(Context)) in FinalizeVarWithDestructor()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp2422 if (D->needsDestruction(D->getASTContext())) in VisitVarDecl()
H A DDecl.cpp2850 VarDecl::needsDestruction(const ASTContext &Ctx) const { in needsDestruction() function in VarDecl
H A DExpr.cpp3572 VD->needsDestruction(Context)) in VisitDecl()
H A DASTContext.cpp13042 if (VD->needsDestruction(*this)) in DeclMustBeEmitted()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1681 QualType::DestructionKind needsDestruction(const ASTContext &Ctx) const;