Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp159 int LocalCXXRuntimeOverridesBase::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument
164 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexSymbol.cpp261 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
291 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
480 case SymbolKind::Destructor: return "destructor"; in getSymbolKindString()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Index/
H A DIndexSymbol.h53 Destructor, enumerator
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp8257 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
8260 if (!Destructor->isImplicit()) in CheckDestructor()
11228 CXXDestructorDecl *Destructor in DeclareImplicitDestructor() local
11232 Destructor->setAccess(AS_public); in DeclareImplicitDestructor()
11233 Destructor->setDefaulted(); in DeclareImplicitDestructor()
11266 ClassDecl->addDecl(Destructor); in DeclareImplicitDestructor()
11268 return Destructor; in DeclareImplicitDestructor()
11277 if (Destructor->willHaveBody() || Destructor->isInvalidDecl()) in DefineImplicitDestructor()
11297 if (CheckDestructor(Destructor)) { in DefineImplicitDestructor()
11298 Destructor->setInvalidDecl(); in DefineImplicitDestructor()
[all …]
H A DSemaExprCXX.cpp895 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
896 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
898 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
4724 if (!Destructor) in EvaluateUnaryTypeTrait()
4729 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait()
4882 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
6470 if (Destructor) { in MaybeBindToTemporary()
6472 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary()
6475 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary()
6479 if (Destructor->isTrivial()) in MaybeBindToTemporary()
[all …]
H A DSemaInit.cpp1868 CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(CXXRD); in hasAccessibleDestructor() local
1869 SemaRef.CheckDestructorAccess(Loc, Destructor, in hasAccessibleDestructor()
1872 SemaRef.MarkFunctionReferenced(Loc, Destructor); in hasAccessibleDestructor()
1873 if (SemaRef.DiagnoseUseOfDecl(Destructor, Loc)) in hasAccessibleDestructor()
7659 CXXDestructorDecl *Destructor in Perform() local
7661 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform()
7663 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform()
7664 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
H A DSemaExpr.cpp14705 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local
14707 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced()
14708 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced()
14709 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced()
14711 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced()
14713 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced()
14714 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
H A DSemaTemplateInstantiateDecl.cpp1987 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local
1990 Destructor->isInlineSpecified(), in VisitCXXMethodDecl()
1992 Method->setRangeEnd(Destructor->getEndLoc()); in VisitCXXMethodDecl()
H A DSemaDecl.cpp10133 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local
10135 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration()
13172 else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(FD)) in ActOnFinishFunctionBody() local
13173 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody()
13333 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local
13334 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody()
13335 CheckDestructor(Destructor); in ActOnFinishFunctionBody()
13337 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody()
13338 Destructor->getParent()); in ActOnFinishFunctionBody()
H A DSemaChecking.cpp12237 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local
12238 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef()
12239 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
H A DTreeTransform.h10304 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) { in TransformCXXNewExpr() local
10305 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Destructor); in TransformCXXNewExpr()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h176 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
/freebsd-12.1/contrib/libstdc++/libsupc++/
H A Dtypeinfo71 /** Destructor first. Being the first non-inline virtual function, this
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExprCXX.h1187 const CXXDestructorDecl *Destructor; variable
1190 : Destructor(destructor) {} in CXXTemporary()
1194 const CXXDestructorDecl *Destructor);
1196 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1199 Destructor = Dtor; in setDestructor()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprCXX.cpp920 const CXXDestructorDecl *Destructor) { in Create() argument
921 return new (C) CXXTemporary(Destructor); in Create()
H A DDeclCXX.cpp1712 if (const CXXDestructorDecl *Destructor = getDestructor()) in isAnyDestructorNoReturn() local
1713 if (Destructor->isNoReturn()) in isAnyDestructorNoReturn()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h4917 CXXDestructorDecl *Destructor);
4923 void AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor);
5949 bool CheckDestructor(CXXDestructorDecl *Destructor);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DAttr.td1094 def Destructor : InheritableAttr {