Home
last modified time | relevance | path

Searched refs:CXXDestructorDecl (Results 1 – 25 of 110) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h62 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); in Init()
90 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) : Value(D, Type) {} in GlobalDecl()
111 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); in getDtorType()
127 !isa<CXXDestructorDecl>(getDecl()) && in getMultiVersionIndex()
177 assert(isa<CXXDestructorDecl>(getDecl())); in getWithDtorType()
187 !isa<CXXDestructorDecl>(getDecl()) && in getWithMultiVersionIndex()
H A DVTableBuilder.h72 assert(!isa<CXXDestructorDecl>(MD) && in MakeFunction()
79 static VTableComponent MakeCompleteDtor(const CXXDestructorDecl *DD) { in MakeCompleteDtor()
84 static VTableComponent MakeDeletingDtor(const CXXDestructorDecl *DD) { in MakeDeletingDtor()
90 assert(!isa<CXXDestructorDecl>(MD) && in MakeUnusedFunction()
131 const CXXDestructorDecl *getDestructorDecl() const { in getDestructorDecl()
133 return reinterpret_cast<CXXDestructorDecl *>(getPointer()); in getDestructorDecl()
157 auto *DtorDecl = dyn_cast<CXXDestructorDecl>(getFunctionDecl()); in getGlobalDecl()
593 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
H A DASTMutationListener.h20 class CXXDestructorDecl; variable
83 virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD, in ResolvedOperatorDelete()
H A DMangle.h32 class CXXDestructorDecl; variable
136 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type,
153 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT,
207 virtual void mangleCXXDtorComdat(const CXXDestructorDecl *D,
H A DDeclCXX.h62 class CXXDestructorDecl; variable
1469 void addedSelectedDestructor(CXXDestructorDecl *DD);
1539 CXXDestructorDecl *getDestructor() const;
2792 class CXXDestructorDecl : public CXXMethodDecl {
2801 CXXDestructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
2815 static CXXDestructorDecl *
2821 static CXXDestructorDecl *CreateDeserialized(ASTContext & C, unsigned ID);
2833 CXXDestructorDecl *getCanonicalDecl() override { in getCanonicalDecl()
2834 return cast<CXXDestructorDecl>(FunctionDecl::getCanonicalDecl()); in getCanonicalDecl()
2836 const CXXDestructorDecl *getCanonicalDecl() const { in getCanonicalDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.h31 class CXXDestructorDecl; variable
129 (isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
260 const CXXDestructorDecl *Dtor) = 0;
374 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
378 const CXXDestructorDecl *Dtor,
382 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor,
386 virtual void EmitCXXDestructors(const CXXDestructorDecl *D) = 0;
445 const CXXDestructorDecl *DD, CXXDtorType Type,
450 const CXXDestructorDecl *DD, CXXDtorType Type,
500 const CXXDestructorDecl *Dtor,
H A DCGCXX.cpp34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
112 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias()
225 if (isa<CXXDestructorDecl>(MD)) { in getAddrAndTypeOfCXXStructor()
286 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) in BuildAppleKextVirtualCall()
296 const CXXDestructorDecl *DD, in BuildAppleKextVirtualDestructorCall()
H A DCGClass.cpp1430 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody()
1574 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()
1592 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in EmitConditionalDtorDeleteCall()
1731 const CXXDestructorDecl *Dtor;
1780 const CXXDestructorDecl *Dtor;
1802 const CXXDestructorDecl *DD;
1807 const CXXDestructorDecl *DD) in SanitizeDtorCleanupBuilder()
2105 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2448 const CXXDestructorDecl *Dtor;
2507 const CXXDestructorDecl *Dtor;
[all …]
H A DMicrosoftCXXABI.cpp69 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
235 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant()
248 void EmitCXXDestructors(const CXXDestructorDecl *D) override;
255 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in getThisArgumentTypeForMethod()
1102 return isa<CXXDestructorDecl>(GD.getDecl()) && in isDeletingDtor()
1333 if (isa<CXXDestructorDecl>(GD.getDecl()) && in buildStructorSignature()
1423 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in getVirtualFunctionPrologueThisAdjustment()
1442 if (isa<CXXDestructorDecl>(MD)) in getVirtualFunctionPrologueThisAdjustment()
1472 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in adjustThisArgumentForVirtualFunctionCall()
4034 auto *dtor = cast<CXXDestructorDecl>(GD.getDecl()); in emitCXXStructor()
[all …]
H A DCGVTables.cpp269 if (isa<CXXDestructorDecl>(MD)) in StartThunk()
334 if (isa<CXXDestructorDecl>(MD)) in EmitCallAndReturnForThunk()
352 assert(isa<CXXDestructorDecl>(MD) || // ignore dtor return types in EmitCallAndReturnForThunk()
502 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) in maybeEmitThunk()
606 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in EmitThunks()
H A DCGCXXABI.cpp306 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage()
313 GVALinkage Linkage, const CXXDestructorDecl *Dtor, CXXDtorType DT) const { in getCXXDestructorLinkage()
H A DCodeGenABITypes.cpp120 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam()
H A DItaniumCXXABI.cpp82 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
162 const CXXDestructorDecl *Dtor) override;
256 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant()
264 void EmitCXXDestructors(const CXXDestructorDecl *D) override;
1325 CXXDestructorDecl *DtorD = Record->getDestructor(); in emitThrow()
1688 void ItaniumCXXABI::EmitCXXDestructors(const CXXDestructorDecl *D) { in EmitCXXDestructors()
1778 const CXXDestructorDecl *DD, in EmitDestructorCall()
2223 if (!isa<CXXDestructorDecl>(CGF.CurGD.getDecl())) in EmitReturnFromThunk()
3136 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in NeedsVTTParameter()
4339 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in getCodegenToUse()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp284 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD, in mangleDtorBlock()
295 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
311 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC)) in mangleBlock()
508 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) { in getAllManglings()
532 else if (const auto *DtorD = dyn_cast<CXXDestructorDecl>(D)) in writeFuncOrVarName()
561 else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) in getMangledStructor()
H A DVTableBuilder.cpp494 if (isa<CXXDestructorDecl>(LHS)) in MethodsCanShareVCallOffset()
495 return isa<CXXDestructorDecl>(RHS); in MethodsCanShareVCallOffset()
1152 if (isa<CXXDestructorDecl>(MD)) { in ComputeThisAdjustments()
1311 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod()
1573 if (isa<CXXDestructorDecl>(A) != isa<CXXDestructorDecl>(B)) in AddMethods()
1574 return isa<CXXDestructorDecl>(A); in AddMethods()
1693 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in LayoutPrimaryAndSecondaryVTables()
2184 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in dumpLayout()
2525 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod()
2564 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in LayoutVFTable()
[all …]
H A DDeclCXX.cpp846 if (isa<CXXDestructorDecl>(D)) in addedMember()
1482 } else if (isa<CXXDestructorDecl>(D)) { in finishedDefaultedOrDeletedMember()
1540 } else if (isa<CXXDestructorDecl>(D)) in setTrivialForCallFlags()
1985 auto* DD = dyn_cast<CXXDestructorDecl>(Decl); in getDestructor()
2211 if (isa<CXXDestructorDecl>(this)) { in getCorrespondingMethodDeclaredInClass()
2833 void CXXDestructorDecl::anchor() {} in anchor()
2835 CXXDestructorDecl *
2837 return new (C, ID) CXXDestructorDecl( in CreateDeserialized()
2842 CXXDestructorDecl *CXXDestructorDecl::Create( in Create()
2850 return new (C, RD) CXXDestructorDecl( in Create()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h42 class CXXDestructorDecl; variable
91 const CXXDestructorDecl *D, CXXDtorType Type,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h49 class CXXDestructorDecl; variable
125 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {} in handleDestructorCall()
214 auto *DD = const_cast<CXXDestructorDecl *>( in walk()
475 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h94 AnyCall(const CXXDestructorDecl *D) : E(nullptr), D(D), K(Destructor) {} in AnyCall()
103 } else if (isa <CXXDestructorDecl>(D)) { in AnyCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.h70 const CXXDestructorDecl *getDestructor() const { in getDestructor()
H A DFunction.h140 bool isDestructor() const { return isa<CXXDestructorDecl>(F); } in isDestructor()
/freebsd-14.2/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp111 if (isa<CXXDestructorDecl>(Decl)) in ShouldSkip()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DMultiplexConsumer.cpp99 void ResolvedOperatorDelete(const CXXDestructorDecl *DD,
170 const CXXDestructorDecl *DD, const FunctionDecl *Delete, Expr *ThisArg) { in ResolvedOperatorDelete()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp44 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) && in GetSignature()

12345