Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaDeclCXX.cpp6161 bool Sema::CheckDestructor(CXXDestructorDecl *Destructor) { in CheckDestructor() argument
6162 CXXRecordDecl *RD = Destructor->getParent(); in CheckDestructor()
6164 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
6167 if (!Destructor->isImplicit()) in CheckDestructor()
6168 Loc = Destructor->getLocation(); in CheckDestructor()
6185 Destructor->setOperatorDelete(OperatorDelete); in CheckDestructor()
8586 CXXDestructorDecl *Destructor in DeclareImplicitDestructor() local
8590 Destructor->setAccess(AS_public); in DeclareImplicitDestructor()
8591 Destructor->setDefaulted(); in DeclareImplicitDestructor()
8592 Destructor->setImplicit(); in DeclareImplicitDestructor()
[all …]
DSemaExprCXX.cpp692 CXXDestructorDecl *Destructor = LookupDestructor(RD); in CheckCXXThrowOperand() local
693 if (!Destructor) in CheckCXXThrowOperand()
696 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
697 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
699 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
3539 if (CXXDestructorDecl *Destructor = Self.LookupDestructor(RD)) in EvaluateUnaryTypeTrait() local
3540 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
4990 CXXDestructorDecl *Destructor = IsDecltype ? 0 : LookupDestructor(RD); in MaybeBindToTemporary() local
4992 if (Destructor) { in MaybeBindToTemporary()
4993 MarkFunctionReferenced(E->getExprLoc(), Destructor); in MaybeBindToTemporary()
[all …]
DSemaInit.cpp5886 CXXDestructorDecl *Destructor in Perform() local
5888 S.CheckDestructorAccess(CurInit.get()->getLocStart(), Destructor, in Perform()
5890 S.MarkFunctionReferenced(CurInit.get()->getLocStart(), Destructor); in Perform()
5891 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart())) in Perform()
DSemaDecl.cpp7582 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local
7584 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration()
9848 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local
9849 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody()
9850 CheckDestructor(Destructor); in ActOnFinishFunctionBody()
9852 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody()
9853 Destructor->getParent()); in ActOnFinishFunctionBody()
DSemaExpr.cpp11196 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local
11198 if (Destructor->isDefaulted() && !Destructor->isDeleted() && in MarkFunctionReferenced()
11199 !Destructor->isUsed(false)) in MarkFunctionReferenced()
11200 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced()
11201 if (Destructor->isVirtual()) in MarkFunctionReferenced()
11202 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
DSemaTemplateInstantiateDecl.cpp1595 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local
1598 Destructor->isInlineSpecified(), in VisitCXXMethodDecl()
DTreeTransform.h7637 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) { in TransformCXXNewExpr() local
7638 SemaRef.MarkFunctionReferenced(E->getLocStart(), Destructor); in TransformCXXNewExpr()
/freebsd-10-stable/contrib/libstdc++/libsupc++/
Dtypeinfo71 /** Destructor first. Being the first non-inline virtual function, this
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DExprCXX.h990 const CXXDestructorDecl *Destructor; variable
993 : Destructor(destructor) { } in CXXTemporary()
997 const CXXDestructorDecl *Destructor);
999 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1001 Destructor = Dtor; in setDestructor()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DExprCXX.cpp792 const CXXDestructorDecl *Destructor) { in Create() argument
793 return new (C) CXXTemporary(Destructor); in Create()
/freebsd-10-stable/contrib/libc++/include/experimental/
Doptional98 // 5.3.2, Destructor
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
DAttr.td378 def Destructor : InheritableAttr {
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
DSema.h3895 CXXDestructorDecl *Destructor);
3902 CXXDestructorDecl *Destructor);
4838 bool CheckDestructor(CXXDestructorDecl *Destructor);