/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | AnyCall.h | 40 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()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 6631 return CXXSpecialMemberKind::Destructor; in getDefaultedFunctionKind() 6681 case CXXSpecialMemberKind::Destructor: in DefineDefaultedFunction() 7024 CSM == CXXSpecialMemberKind::Destructor) && in CheckCompletedCXXClass() 7036 CSM == CXXSpecialMemberKind::Destructor)) in CheckCompletedCXXClass() 7214 CSM == CXXSpecialMemberKind::Destructor) in lookupCallFromSpecialMember() 7331 if (CSM == CXXSpecialMemberKind::Destructor) in specialMemberIsConstexpr() 7380 case CXXSpecialMemberKind::Destructor: in defaultedSpecialMemberIsConstexpr() 7587 CSM == CXXSpecialMemberKind::Destructor) in CheckExplicitlyDefaultedSpecialMember() 9169 case CXXSpecialMemberKind::Destructor: in SpecialMemberVisitor() 9419 S.LookupSpecialMember(Class, CXXSpecialMemberKind::Destructor, fals in shouldDeleteForClassSubobject() 10840 CheckDestructor(CXXDestructorDecl * Destructor) CheckDestructor() argument 14138 CXXDestructorDecl *Destructor = CXXDestructorDecl::Create( DeclareImplicitDestructor() local 14184 DefineImplicitDestructor(SourceLocation CurrentLocation,CXXDestructorDecl * Destructor) DefineImplicitDestructor() argument 14226 CheckCompleteDestructorVariant(SourceLocation CurrentLocation,CXXDestructorDecl * Destructor) CheckCompleteDestructorVariant() argument 14286 AdjustDestructorExceptionSpec(CXXDestructorDecl * Destructor) AdjustDestructorExceptionSpec() argument 16019 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); FinalizeVarWithDestructor() local [all...] |
H A D | SemaExprCXX.cpp | 1034 if (CXXDestructorDecl *Destructor = LookupDestructor(RD)) { in CheckCXXThrowOperand() local 1035 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand() 1036 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand() 1038 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand() 5456 CXXDestructorDecl *Destructor = Self.LookupDestructor(RD); in EvaluateUnaryTypeTrait() local 5457 if (!Destructor) in EvaluateUnaryTypeTrait() 5462 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait() 5464 if (C.getLangOpts().AccessControl && Destructor->getAccess() != AS_public) in EvaluateUnaryTypeTrait() 5467 auto *CPT = Destructor->getType()->castAs<FunctionProtoType>(); in EvaluateUnaryTypeTrait() 5611 if (CXXDestructorDecl *Destructor = Self.LookupDestructor(RD)) in EvaluateUnaryTypeTrait() local [all …]
|
H A D | SemaInit.cpp | 1988 CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(CXXRD); in checkDestructorReference() local 1989 SemaRef.CheckDestructorAccess(Loc, Destructor, in checkDestructorReference() 1992 SemaRef.MarkFunctionReferenced(Loc, Destructor); in checkDestructorReference() 1993 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference() 7894 CXXDestructorDecl *Destructor in Perform() local 7896 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform() 7898 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform() 7899 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
|
H A D | SemaTemplateInstantiateDecl.cpp | 2614 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local 2617 Destructor->UsesFPIntrin(), Destructor->isInlineSpecified(), false, in VisitCXXMethodDecl() 2618 Destructor->getConstexprKind(), TrailingRequiresClause); in VisitCXXMethodDecl() 2620 Method->setRangeEnd(Destructor->getEndLoc()); in VisitCXXMethodDecl()
|
H A D | SemaDecl.cpp | 12031 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local 12040 !Destructor->getFunctionObjectParameterType()->isDependentType()) { in CheckFunctionDeclaration() 12041 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration() 15888 else if (CXXDestructorDecl *Destructor = in ActOnFinishFunctionBody() local 15890 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody() 16136 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local 16137 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody() 16138 CheckDestructor(Destructor); in ActOnFinishFunctionBody() 16140 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody() 16141 Destructor->getParent()); in ActOnFinishFunctionBody() [all …]
|
H A D | SemaLookup.cpp | 3304 SM != CXXSpecialMemberKind::Destructor) && in LookupSpecialMember() 3331 if (SM == CXXSpecialMemberKind::Destructor) { in LookupSpecialMember() 3590 LookupSpecialMember(Class, CXXSpecialMemberKind::Destructor, false, false, in LookupDestructor()
|
H A D | SemaDeclObjC.cpp | 5539 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(RD)) { in SetIvarInitializers() local 5540 SemaRef.MarkFunctionReferenced(Field->getLocation(), Destructor); in SetIvarInitializers() 5542 Field->getLocation(), Destructor, in SetIvarInitializers()
|
H A D | SemaExpr.cpp | 17951 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local 17953 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 17954 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced() 17955 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced() 17957 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced() 17959 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced() 17960 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
|
H A D | SemaChecking.cpp | 12750 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local 12751 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef() 12752 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
|
H A D | TreeTransform.h | 13419 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) { in TransformCXXNewExpr() local 13420 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Destructor); in TransformCXXNewExpr()
|
H A D | SemaType.cpp | 9334 SpecialMemberIsTrivial(Dtor, CXXSpecialMemberKind::Destructor, in RequireLiteralType()
|
/freebsd/contrib/llvm-project/clang/include/clang/Index/ |
H A D | IndexSymbol.h | 52 Destructor, enumerator
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexSymbol.cpp | 267 Info.Kind = SymbolKind::Destructor; in getSymbolInfo() 297 Info.Kind = SymbolKind::Destructor; in getSymbolInfo() 533 case SymbolKind::Destructor: return "destructor"; in getSymbolKindString()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | ExecutionUtils.cpp | 177 int LocalCXXRuntimeOverridesBase::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument 182 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | ExecutionUtils.h | 186 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
|
/freebsd/contrib/kyua/utils/ |
H A D | auto_array.ipp | 90 /// Destructor for auto_array objects.
|
H A D | optional.ipp | 75 /// Destructor.
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ExprCXX.h | 1459 const CXXDestructorDecl *Destructor; variable 1462 : Destructor(destructor) {} in CXXTemporary() 1466 const CXXDestructorDecl *Destructor); 1468 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor() 1471 Destructor = Dtor; in setDestructor()
|
H A D | PropertiesBase.td | 588 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 1094 const CXXDestructorDecl *Destructor) { in Create() argument 1095 return new (C) CXXTemporary(Destructor); in Create()
|
H A D | ASTContext.cpp | 14221 auto *Destructor = dyn_cast<CXXDestructorDecl>(Method); in useAbbreviatedThunkName() local 14225 if (Destructor) in useAbbreviatedThunkName() 14226 Mangler->mangleCXXDtorThunk(Destructor, VirtualMethodDecl.getDtorType(), in useAbbreviatedThunkName() 14234 if (Destructor) in useAbbreviatedThunkName() 14235 Mangler->mangleCXXDtorThunk(Destructor, VirtualMethodDecl.getDtorType(), in useAbbreviatedThunkName()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 451 Destructor, enumerator 5114 CXXDestructorDecl *Destructor); 5120 void AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor); 5570 bool CheckDestructor(CXXDestructorDecl *Destructor); 5924 llvm::to_underlying(CXXSpecialMemberKind::Destructor), in getDiagnosticIndex()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Attr.td | 1601 def Destructor : InheritableAttr {
|