Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h39 Destructor, enumerator
93 AnyCall(const CXXDestructorDecl *D) : E(nullptr), D(D), K(Destructor) {} in AnyCall()
103 K = Destructor; in AnyCall()
178 case Destructor: in getReturnType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h52 Destructor, enumerator
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp266 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
296 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
530 case SymbolKind::Destructor: return "destructor"; in getSymbolKindString()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp175 int LocalCXXRuntimeOverridesBase::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument
180 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp10360 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
10363 if (!Destructor->isImplicit()) in CheckDestructor()
13514 CXXDestructorDecl *Destructor = in DeclareImplicitDestructor() local
13521 Destructor->setDefaulted(); in DeclareImplicitDestructor()
13554 ClassDecl->addDecl(Destructor); in DeclareImplicitDestructor()
13556 return Destructor; in DeclareImplicitDestructor()
13565 if (Destructor->willHaveBody() || Destructor->isInvalidDecl()) in DefineImplicitDestructor()
13586 Destructor->setInvalidDecl(); in DefineImplicitDestructor()
13594 Destructor->markUsed(Context); in DefineImplicitDestructor()
13603 if (Destructor->isInvalidDecl()) in CheckCompleteDestructorVariant()
[all …]
H A DSemaExprCXX.cpp1005 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
1006 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
1008 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
5038 if (!Destructor) in EvaluateUnaryTypeTrait()
5043 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait()
5193 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
7030 if (Destructor) { in MaybeBindToTemporary()
7032 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary()
7035 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary()
7039 if (Destructor->isTrivial()) in MaybeBindToTemporary()
[all …]
H A DSemaInit.cpp1848 CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(CXXRD); in checkDestructorReference() local
1849 SemaRef.CheckDestructorAccess(Loc, Destructor, in checkDestructorReference()
1852 SemaRef.MarkFunctionReferenced(Loc, Destructor); in checkDestructorReference()
1853 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference()
8372 CXXDestructorDecl *Destructor in Perform() local
8374 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform()
8376 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform()
8377 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
H A DSemaTemplateInstantiateDecl.cpp2414 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local
2417 Destructor->isInlineSpecified(), false, Destructor->getConstexprKind(), in VisitCXXMethodDecl()
2419 Method->setRangeEnd(Destructor->getEndLoc()); in VisitCXXMethodDecl()
H A DSemaDecl.cpp11003 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local
11005 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration()
14555 else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(FD)) in ActOnFinishFunctionBody() local
14556 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody()
14757 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local
14758 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody()
14759 CheckDestructor(Destructor); in ActOnFinishFunctionBody()
14761 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody()
14762 Destructor->getParent()); in ActOnFinishFunctionBody()
H A DSemaExpr.cpp17140 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local
17142 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced()
17143 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced()
17144 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced()
17146 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced()
17148 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced()
17149 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
H A DSemaChecking.cpp14438 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local
14439 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef()
14440 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
H A DTreeTransform.h11858 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) { in TransformCXXNewExpr() local
11859 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Destructor); in TransformCXXNewExpr()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h187 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
/freebsd-13.1/contrib/kyua/utils/
H A Dauto_array.ipp90 /// Destructor for auto_array objects.
H A Doptional.ipp75 /// Destructor.
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h1382 const CXXDestructorDecl *Destructor; variable
1385 : Destructor(destructor) {} in CXXTemporary()
1389 const CXXDestructorDecl *Destructor);
1391 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1394 Destructor = Dtor; in setDestructor()
H A DPropertiesBase.td569 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp968 const CXXDestructorDecl *Destructor) { in Create() argument
969 return new (C) CXXTemporary(Destructor); in Create()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp680 case AnyCall::Destructor: in getSummary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1293 AsanDtorKind Destructor) { in createModuleAddressSanitizerLegacyPassPass() argument
1296 CompileKernel, Recover, UseGlobalsGC, UseOdrIndicator, Destructor); in createModuleAddressSanitizerLegacyPassPass()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5975 CXXDestructorDecl *Destructor);
5981 void AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor);
7204 bool CheckDestructor(CXXDestructorDecl *Destructor);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1310 def Destructor : InheritableAttr {