Home
last modified time | relevance | path

Searched refs:Destructor (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h40 Destructor, enumerator
94 AnyCall(const CXXDestructorDecl *D) : E(nullptr), D(D), K(Destructor) {} in AnyCall()
104 K = Destructor; in AnyCall()
179 case Destructor: in getReturnType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h52 Destructor, enumerator
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp267 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
297 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
533 case SymbolKind::Destructor: return "destructor"; in getSymbolKindString()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp10938 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
10941 if (!Destructor->isImplicit()) in CheckDestructor()
14272 Destructor->setDefaulted(); in DeclareImplicitDestructor()
14304 ClassDecl->addDecl(Destructor); in DeclareImplicitDestructor()
14306 return Destructor; in DeclareImplicitDestructor()
14315 if (Destructor->willHaveBody() || Destructor->isInvalidDecl()) in DefineImplicitDestructor()
14336 Destructor->setInvalidDecl(); in DefineImplicitDestructor()
14344 Destructor->markUsed(Context); in DefineImplicitDestructor()
14353 if (Destructor->isInvalidDecl()) in CheckCompleteDestructorVariant()
14435 Destructor->setType( in AdjustDestructorExceptionSpec()
[all …]
H A DSemaExprCXX.cpp1038 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
1039 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
1041 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
5286 if (!Destructor) in EvaluateUnaryTypeTrait()
5291 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait()
5441 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
7412 if (Destructor) { in MaybeBindToTemporary()
7414 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary()
7417 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary()
7421 if (Destructor->isTrivial()) in MaybeBindToTemporary()
[all …]
H A DSemaInit.cpp1908 CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(CXXRD); in checkDestructorReference() local
1909 SemaRef.CheckDestructorAccess(Loc, Destructor, in checkDestructorReference()
1912 SemaRef.MarkFunctionReferenced(Loc, Destructor); in checkDestructorReference()
1913 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference()
8946 CXXDestructorDecl *Destructor in Perform() local
8948 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform()
8950 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform()
8951 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
H A DSemaTemplateInstantiateDecl.cpp2571 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local
2574 Destructor->UsesFPIntrin(), Destructor->isInlineSpecified(), false, in VisitCXXMethodDecl()
2575 Destructor->getConstexprKind(), TrailingRequiresClause); in VisitCXXMethodDecl()
2577 Method->setRangeEnd(Destructor->getEndLoc()); in VisitCXXMethodDecl()
H A DSemaDecl.cpp12077 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local
12086 !Destructor->getFunctionObjectParameterType()->isDependentType()) { in CheckFunctionDeclaration()
12087 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration()
16092 else if (CXXDestructorDecl *Destructor = in ActOnFinishFunctionBody() local
16094 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody()
16341 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local
16342 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody()
16343 CheckDestructor(Destructor); in ActOnFinishFunctionBody()
16345 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody()
16346 Destructor->getParent()); in ActOnFinishFunctionBody()
H A DSemaExpr.cpp18970 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local
18972 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced()
18973 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced()
18974 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced()
18976 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced()
18978 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced()
18979 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
H A DSemaChecking.cpp17652 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local
17653 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef()
17654 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
H A DTreeTransform.h12553 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) { in TransformCXXNewExpr() local
12554 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Destructor); in TransformCXXNewExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp176 int LocalCXXRuntimeOverridesBase::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument
181 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h186 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
/freebsd-14.2/contrib/kyua/utils/
H A Dauto_array.ipp90 /// Destructor for auto_array objects.
H A Doptional.ipp75 /// Destructor.
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h1445 const CXXDestructorDecl *Destructor; variable
1448 : Destructor(destructor) {} in CXXTemporary()
1452 const CXXDestructorDecl *Destructor);
1454 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1457 Destructor = Dtor; in setDestructor()
H A DPropertiesBase.td585 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1044 const CXXDestructorDecl *Destructor) { in Create() argument
1045 return new (C) CXXTemporary(Destructor); in Create()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp676 case AnyCall::Destructor: in getSummary()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6560 CXXDestructorDecl *Destructor);
6566 void AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor);
7934 bool CheckDestructor(CXXDestructorDecl *Destructor);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1497 def Destructor : InheritableAttr {