Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/ExecutionEngine/Orc/
HDExecutionUtils.cpp93 int LocalCXXRuntimeOverrides::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument
97 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclCXX.cpp6753 bool Sema::CheckDestructor(CXXDestructorDecl *Destructor) { in CheckDestructor() argument
6754 CXXRecordDecl *RD = Destructor->getParent(); in CheckDestructor()
6756 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
6759 if (!Destructor->isImplicit()) in CheckDestructor()
6760 Loc = Destructor->getLocation(); in CheckDestructor()
6777 Destructor->setOperatorDelete(OperatorDelete); in CheckDestructor()
9377 CXXDestructorDecl *Destructor in DeclareImplicitDestructor() local
9381 Destructor->setAccess(AS_public); in DeclareImplicitDestructor()
9382 Destructor->setDefaulted(); in DeclareImplicitDestructor()
9386 Destructor, in DeclareImplicitDestructor()
[all …]
HDSemaExprCXX.cpp773 if (CXXDestructorDecl *Destructor = LookupDestructor(RD)) { in CheckCXXThrowOperand() local
774 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
775 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
777 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
3957 if (CXXDestructorDecl *Destructor = Self.LookupDestructor(RD)) in EvaluateUnaryTypeTrait() local
3958 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
5365 CXXDestructorDecl *Destructor = IsDecltype ? nullptr : LookupDestructor(RD); in MaybeBindToTemporary() local
5367 if (Destructor) { in MaybeBindToTemporary()
5368 MarkFunctionReferenced(E->getExprLoc(), Destructor); in MaybeBindToTemporary()
5369 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary()
[all …]
HDSemaDecl.cpp8229 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local
8231 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration()
10806 else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(FD)) in ActOnFinishFunctionBody() local
10807 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody()
10938 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local
10939 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody()
10940 CheckDestructor(Destructor); in ActOnFinishFunctionBody()
10942 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody()
10943 Destructor->getParent()); in ActOnFinishFunctionBody()
HDSemaExpr.cpp12241 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local
12243 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced()
12244 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced()
12245 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced()
12247 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced()
12249 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced()
12250 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
HDSemaInit.cpp6400 CXXDestructorDecl *Destructor in Perform() local
6402 S.CheckDestructorAccess(CurInit.get()->getLocStart(), Destructor, in Perform()
6404 S.MarkFunctionReferenced(CurInit.get()->getLocStart(), Destructor); in Perform()
6405 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart())) in Perform()
HDSemaTemplateInstantiateDecl.cpp1744 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local
1747 Destructor->isInlineSpecified(), in VisitCXXMethodDecl()
HDSemaChecking.cpp8225 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local
8226 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef()
8227 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
HDTreeTransform.h8764 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) { in TransformCXXNewExpr() local
8765 SemaRef.MarkFunctionReferenced(E->getLocStart(), Destructor); in TransformCXXNewExpr()
/NextBSD/contrib/llvm/include/llvm/ExecutionEngine/Orc/
HDExecutionUtils.h175 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
/NextBSD/contrib/libstdc++/libsupc++/
Dtypeinfo71 /** Destructor first. Being the first non-inline virtual function, this
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDExprCXX.h1003 const CXXDestructorDecl *Destructor; variable
1006 : Destructor(destructor) { } in CXXTemporary()
1010 const CXXDestructorDecl *Destructor);
1012 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1014 Destructor = Dtor; in setDestructor()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExprCXX.cpp784 const CXXDestructorDecl *Destructor) { in Create() argument
785 return new (C) CXXTemporary(Destructor); in Create()
HDDeclCXX.cpp1320 if (const CXXDestructorDecl *Destructor = getDestructor()) in isAnyDestructorNoReturn() local
1321 if (Destructor->isNoReturn()) in isAnyDestructorNoReturn()
/NextBSD/contrib/libc++/include/experimental/
Doptional98 // 5.3.2, Destructor
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGOpenMPRuntime.cpp2294 LValue Destructor = CGF.EmitLValueForField( in emitTaskCall() local
2298 Destructor); in emitTaskCall()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h4315 CXXDestructorDecl *Destructor);
4322 CXXDestructorDecl *Destructor);
5263 bool CheckDestructor(CXXDestructorDecl *Destructor);
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDAttr.td670 def Destructor : InheritableAttr {