Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/include/clang/Index/
H A DIndexSymbol.h52 Destructor, enumerator
/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexSymbol.cpp266 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
296 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
533 case SymbolKind::Destructor: return "destructor"; in getSymbolKindString()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp10641 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
10644 if (!Destructor->isImplicit()) in CheckDestructor()
13833 Destructor->setDefaulted(); in DeclareImplicitDestructor()
13865 ClassDecl->addDecl(Destructor); in DeclareImplicitDestructor()
13867 return Destructor; in DeclareImplicitDestructor()
13876 if (Destructor->willHaveBody() || Destructor->isInvalidDecl()) in DefineImplicitDestructor()
13897 Destructor->setInvalidDecl(); in DefineImplicitDestructor()
13905 Destructor->markUsed(Context); in DefineImplicitDestructor()
13914 if (Destructor->isInvalidDecl()) in CheckCompleteDestructorVariant()
13996 Destructor->setType( in AdjustDestructorExceptionSpec()
[all …]
H A DSemaExprCXX.cpp1011 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
1012 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
1014 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
5204 if (!Destructor) in EvaluateUnaryTypeTrait()
5209 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait()
5359 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
7288 if (Destructor) { in MaybeBindToTemporary()
7290 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary()
7293 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary()
7297 if (Destructor->isTrivial()) in MaybeBindToTemporary()
[all …]
H A DSemaInit.cpp1862 CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(CXXRD); in checkDestructorReference() local
1863 SemaRef.CheckDestructorAccess(Loc, Destructor, in checkDestructorReference()
1866 SemaRef.MarkFunctionReferenced(Loc, Destructor); in checkDestructorReference()
1867 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference()
8780 CXXDestructorDecl *Destructor in Perform() local
8782 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform()
8784 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform()
8785 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
H A DSemaTemplateInstantiateDecl.cpp2512 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local
2515 Destructor->UsesFPIntrin(), Destructor->isInlineSpecified(), false, in VisitCXXMethodDecl()
2516 Destructor->getConstexprKind(), TrailingRequiresClause); in VisitCXXMethodDecl()
2518 Method->setRangeEnd(Destructor->getEndLoc()); in VisitCXXMethodDecl()
H A DSemaDecl.cpp11811 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local
11820 !Destructor->getThisType()->isDependentType()) { in CheckFunctionDeclaration()
11821 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration()
15503 else if (CXXDestructorDecl *Destructor = in ActOnFinishFunctionBody() local
15505 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody()
15752 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local
15753 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody()
15754 CheckDestructor(Destructor); in ActOnFinishFunctionBody()
15756 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody()
15757 Destructor->getParent()); in ActOnFinishFunctionBody()
H A DSemaExpr.cpp18331 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local
18333 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced()
18334 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced()
18335 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced()
18337 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced()
18339 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced()
18340 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
H A DSemaChecking.cpp15865 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local
15866 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef()
15867 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
/openbsd/gnu/usr.bin/perl/ext/Pod-Html/t/
H A Dhtmlview.pod137 Destructor method
H A Dhtmlview.t208 <p>Destructor method</p>
/openbsd/gnu/llvm/clang/docs/
H A DLibASTImporter.rst153 `-Destructor simple irrelevant trivial needs_implicit
180 | `-Destructor simple irrelevant trivial needs_implicit
364 | | | `-Destructor simple irrelevant trivial needs_implicit
374 | `-Destructor simple irrelevant trivial needs_implicit
490 | `-Destructor simple irrelevant trivial needs_implicit
H A DOffloadingDesign.rst395 Global Constructor and Destructor
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp177 int LocalCXXRuntimeOverridesBase::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument
182 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h187 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
/openbsd/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Dtypeinfo66 /** Destructor. Being the first non-inline virtual function, this
/openbsd/gnu/gcc/libstdc++-v3/libsupc++/
H A Dtypeinfo71 /** Destructor first. Being the first non-inline virtual function, this
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DExprCXX.h1440 const CXXDestructorDecl *Destructor; variable
1443 : Destructor(destructor) {} in CXXTemporary()
1447 const CXXDestructorDecl *Destructor);
1449 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1452 Destructor = Dtor; in setDestructor()
H A DPropertiesBase.td568 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprCXX.cpp1035 const CXXDestructorDecl *Destructor) { in Create() argument
1036 return new (C) CXXTemporary(Destructor); in Create()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DRetainSummaryManager.cpp680 case AnyCall::Destructor: in getSummary()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp1299 case SymbolKind::Destructor: return CXIdxEntity_CXXDestructor; in getEntityKindFromSymbolKind()
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachTask.mm82 // Destructor
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h6413 CXXDestructorDecl *Destructor);
6419 void AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor);
7749 bool CheckDestructor(CXXDestructorDecl *Destructor);

12