| /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/llvm/lib/Support/ |
| H A D | TrieRawHashMap.cpp | 363 function_ref<void(void *)> Destructor) { in destroyImpl() argument 373 if (Destructor) in destroyImpl() 377 Destructor(Content->getValuePointer()); in destroyImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 6739 return CXXSpecialMemberKind::Destructor; in getDefaultedFunctionKind() 6789 case CXXSpecialMemberKind::Destructor: in DefineDefaultedFunction() 7133 CSM == CXXSpecialMemberKind::Destructor) && in CheckCompletedCXXClass() 7145 CSM == CXXSpecialMemberKind::Destructor)) in CheckCompletedCXXClass() 7371 CSM == CXXSpecialMemberKind::Destructor) in lookupCallFromSpecialMember() 7488 if (CSM == CXXSpecialMemberKind::Destructor) in specialMemberIsConstexpr() 7537 case CXXSpecialMemberKind::Destructor: in defaultedSpecialMemberIsConstexpr() 7751 CSM == CXXSpecialMemberKind::Destructor) in CheckExplicitlyDefaultedSpecialMember() 9348 case CXXSpecialMemberKind::Destructor: in SpecialMemberVisitor() 9599 S.LookupSpecialMember(Class, CXXSpecialMemberKind::Destructor, false, in shouldDeleteForClassSubobject() [all …]
|
| H A D | SemaTypeTraits.cpp | 960 CXXDestructorDecl *Destructor = Self.LookupDestructor(RD); in EvaluateUnaryTypeTrait() local 961 if (!Destructor) in EvaluateUnaryTypeTrait() 966 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait() 968 if (C.getLangOpts().AccessControl && Destructor->getAccess() != AS_public) in EvaluateUnaryTypeTrait() 971 auto *CPT = Destructor->getType()->castAs<FunctionProtoType>(); in EvaluateUnaryTypeTrait() 1115 if (CXXDestructorDecl *Destructor = Self.LookupDestructor(RD)) in EvaluateUnaryTypeTrait() local 1116 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
|
| H A D | SemaExprCXX.cpp | 1016 if (CXXDestructorDecl *Destructor = LookupDestructor(RD)) { in CheckCXXThrowOperand() local 1017 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand() 1018 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand() 1020 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand() 6648 CXXDestructorDecl *Destructor = IsDecltype ? nullptr : LookupDestructor(RD); in MaybeBindToTemporary() local 6650 if (Destructor) { in MaybeBindToTemporary() 6651 MarkFunctionReferenced(E->getExprLoc(), Destructor); in MaybeBindToTemporary() 6652 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary() 6655 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary() 6659 if (Destructor->isTrivial()) in MaybeBindToTemporary() [all …]
|
| H A D | SemaInit.cpp | 2064 CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(CXXRD); in checkDestructorReference() local 2065 if (!Destructor) in checkDestructorReference() 2068 SemaRef.CheckDestructorAccess(Loc, Destructor, in checkDestructorReference() 2071 SemaRef.MarkFunctionReferenced(Loc, Destructor); in checkDestructorReference() 2072 return SemaRef.DiagnoseUseOfDecl(Destructor, Loc); in checkDestructorReference() 8163 CXXDestructorDecl *Destructor in Perform() local 8165 S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor, in Perform() 8167 S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor); in Perform() 8168 if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc())) in Perform()
|
| H A D | SemaDecl.cpp | 12268 } else if (CXXDestructorDecl *Destructor = in CheckFunctionDeclaration() local 12277 !Destructor->getFunctionObjectParameterType()->isDependentType()) { in CheckFunctionDeclaration() 12278 CXXRecordDecl *Record = Destructor->getParent(); in CheckFunctionDeclaration() 16367 else if (CXXDestructorDecl *Destructor = in ActOnFinishFunctionBody() local 16369 MarkVTableUsed(FD->getLocation(), Destructor->getParent()); in ActOnFinishFunctionBody() 16615 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody() local 16616 if (!Destructor->getParent()->isDependentType()) in ActOnFinishFunctionBody() 16617 CheckDestructor(Destructor); in ActOnFinishFunctionBody() 16619 MarkBaseAndMemberDestructorsReferenced(Destructor->getLocation(), in ActOnFinishFunctionBody() 16620 Destructor->getParent()); in ActOnFinishFunctionBody() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 3159 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) { in VisitCXXMethodDecl() local 3162 Destructor->UsesFPIntrin(), Destructor->isInlineSpecified(), false, in VisitCXXMethodDecl() 3163 Destructor->getConstexprKind(), TrailingRequiresClause); in VisitCXXMethodDecl() 3165 Method->setRangeEnd(Destructor->getEndLoc()); in VisitCXXMethodDecl()
|
| H A D | SemaLookup.cpp | 3397 SM != CXXSpecialMemberKind::Destructor) && in LookupSpecialMember() 3424 if (SM == CXXSpecialMemberKind::Destructor) { in LookupSpecialMember() 3683 LookupSpecialMember(Class, CXXSpecialMemberKind::Destructor, false, false, in LookupDestructor()
|
| H A D | SemaDeclObjC.cpp | 5541 if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(RD)) { in SetIvarInitializers() local 5542 SemaRef.MarkFunctionReferenced(Field->getLocation(), Destructor); in SetIvarInitializers() 5544 Field->getLocation(), Destructor, in SetIvarInitializers()
|
| H A D | SemaExpr.cpp | 18385 } else if (CXXDestructorDecl *Destructor = in MarkFunctionReferenced() local 18387 Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl()); in MarkFunctionReferenced() 18388 if (Destructor->isDefaulted() && !Destructor->isDeleted()) { in MarkFunctionReferenced() 18389 if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>()) in MarkFunctionReferenced() 18391 DefineImplicitDestructor(Loc, Destructor); in MarkFunctionReferenced() 18393 if (Destructor->isVirtual() && getLangOpts().AppleKext) in MarkFunctionReferenced() 18394 MarkVTableUsed(Loc, Destructor->getParent()); in MarkFunctionReferenced()
|
| H A D | SemaChecking.cpp | 14183 CXXDestructorDecl *Destructor = LookupDestructor(ClassDecl); in CheckParmsForFunctionDef() local 14184 MarkFunctionReferenced(Param->getLocation(), Destructor); in CheckParmsForFunctionDef() 14185 DiagnoseUseOfDecl(Destructor, Param->getLocation()); in CheckParmsForFunctionDef()
|
| /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 | 187 LLVM_ABI static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | TrieRawHashMap.h | 145 LLVM_ABI void destroyImpl(function_ref<void(void *ValueMem)> Destructor);
|
| /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 | 1461 const CXXDestructorDecl *Destructor; variable 1464 : Destructor(destructor) {} in CXXTemporary() 1468 const CXXDestructorDecl *Destructor); 1470 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor() 1473 Destructor = Dtor; in setDestructor()
|
| H A D | PropertiesBase.td | 592 foreach kind = ["Constructor", "Destructor", "ConversionFunction"] in {
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 1102 const CXXDestructorDecl *Destructor) { in Create() argument 1103 return new (C) CXXTemporary(Destructor); in Create()
|
| H A D | ASTContext.cpp | 15146 auto *Destructor = dyn_cast<CXXDestructorDecl>(Method); in useAbbreviatedThunkName() local 15150 if (Destructor) in useAbbreviatedThunkName() 15151 Mangler->mangleCXXDtorThunk(Destructor, VirtualMethodDecl.getDtorType(), in useAbbreviatedThunkName() 15159 if (Destructor) in useAbbreviatedThunkName() 15160 Mangler->mangleCXXDtorThunk(Destructor, VirtualMethodDecl.getDtorType(), in useAbbreviatedThunkName()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 675 case AnyCall::Destructor: in getSummary()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 428 Destructor, enumerator 5529 CXXDestructorDecl *Destructor); 5535 void AdjustDestructorExceptionSpec(CXXDestructorDecl *Destructor); 5997 bool CheckDestructor(CXXDestructorDecl *Destructor); 6346 llvm::to_underlying(CXXSpecialMemberKind::Destructor), in getDiagnosticIndex()
|