Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DGlobalDecl.h61 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); in Init()
89 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) : Value(D, Type) {} in GlobalDecl()
110 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); in getDtorType()
126 !isa<CXXDestructorDecl>(getDecl()) && in getMultiVersionIndex()
172 assert(isa<CXXDestructorDecl>(getDecl())); in getWithDtorType()
182 !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()
595 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
H A DMangle.h31 class CXXDestructorDecl; variable
125 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type,
141 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT,
191 virtual void mangleCXXDtorComdat(const CXXDestructorDecl *D,
H A DASTMutationListener.h20 class CXXDestructorDecl; variable
83 virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD, in ResolvedOperatorDelete()
H A DDeclCXX.h62 class CXXDestructorDecl; variable
1478 CXXDestructorDecl *getDestructor() const;
2666 class CXXDestructorDecl : public CXXMethodDecl {
2675 CXXDestructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
2689 static CXXDestructorDecl *Create(ASTContext &C, CXXRecordDecl *RD,
2696 static CXXDestructorDecl *CreateDeserialized(ASTContext & C, unsigned ID);
2708 CXXDestructorDecl *getCanonicalDecl() override { in getCanonicalDecl()
2709 return cast<CXXDestructorDecl>(FunctionDecl::getCanonicalDecl()); in getCanonicalDecl()
2711 const CXXDestructorDecl *getCanonicalDecl() const { in getCanonicalDecl()
2712 return const_cast<CXXDestructorDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCXXABI.h31 class CXXDestructorDecl; variable
234 const CXXDestructorDecl *Dtor) = 0;
338 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
342 const CXXDestructorDecl *Dtor,
346 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor,
350 virtual void EmitCXXDestructors(const CXXDestructorDecl *D) = 0;
410 const CXXDestructorDecl *DD, CXXDtorType Type,
415 const CXXDestructorDecl *DD, CXXDtorType Type,
465 const CXXDestructorDecl *Dtor,
H A DCGCXX.cpp34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias()
107 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias()
226 if (isa<CXXDestructorDecl>(MD)) { in getAddrAndTypeOfCXXStructor()
288 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) in BuildAppleKextVirtualCall()
298 const CXXDestructorDecl *DD, in BuildAppleKextVirtualDestructorCall()
H A DCGClass.cpp520 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
782 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent(); in EmitAsanPrologueOrEpilogue()
1425 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization()
1443 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody()
1573 const CXXDestructorDecl *DD) { in LoadThisForDtorDelete()
1584 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()
1602 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in EmitConditionalDtorDeleteCall()
1675 const CXXDestructorDecl *Dtor;
1678 SanitizeDtorMembers(const CXXDestructorDecl *Dtor) : Dtor(Dtor) {} in SanitizeDtorMembers()
1766 const CXXDestructorDecl *Dtor;
[all …]
H A DMicrosoftCXXABI.cpp64 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
118 const CXXDestructorDecl *Dtor) override;
219 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant()
225 const CXXDestructorDecl *Dtor,
229 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor,
232 void EmitCXXDestructors(const CXXDestructorDecl *D) override;
236 if (MD->isVirtual() && !isa<CXXDestructorDecl>(MD)) { in getThisArgumentTypeForMethod()
268 const CXXDestructorDecl *DD,
273 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD,
313 const CXXDestructorDecl *Dtor,
[all …]
H A DItaniumCXXABI.cpp80 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
160 const CXXDestructorDecl *Dtor) override;
210 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant()
218 void EmitCXXDestructors(const CXXDestructorDecl *D) override;
232 const CXXDestructorDecl *DD,
237 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD,
276 const CXXDestructorDecl *Dtor,
472 isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
507 (isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
525 (isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
[all …]
H A DCGVTables.cpp264 if (isa<CXXDestructorDecl>(MD)) in StartThunk()
329 if (isa<CXXDestructorDecl>(MD)) in EmitCallAndReturnForThunk()
347 assert(isa<CXXDestructorDecl>(MD) || // ignore dtor return types in EmitCallAndReturnForThunk()
503 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) in maybeEmitThunk()
610 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in EmitThunks()
H A DCGCXXABI.cpp265 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage()
272 GVALinkage Linkage, const CXXDestructorDecl *Dtor, CXXDtorType DT) const { in getCXXDestructorLinkage()
H A DCodeGenABITypes.cpp121 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam()
H A DCodeGenTypes.h34 class CXXDestructorDecl; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DMangle.cpp276 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD, in mangleDtorBlock()
287 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
303 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC)) in mangleBlock()
500 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) { in getAllManglings()
524 else if (const auto *DtorD = dyn_cast<CXXDestructorDecl>(D)) in writeFuncOrVarName()
553 else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) in getMangledStructor()
H A DVTableBuilder.cpp493 if (isa<CXXDestructorDecl>(LHS)) in MethodsCanShareVCallOffset()
494 return isa<CXXDestructorDecl>(RHS); in MethodsCanShareVCallOffset()
1146 if (isa<CXXDestructorDecl>(MD)) { in ComputeThisAdjustments()
1305 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod()
1566 if (isa<CXXDestructorDecl>(A) != isa<CXXDestructorDecl>(B)) in AddMethods()
1567 return isa<CXXDestructorDecl>(A); in AddMethods()
1685 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in LayoutPrimaryAndSecondaryVTables()
1998 const CXXDestructorDecl *DD = Component.getDestructorDecl(); in dumpLayout()
2180 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in dumpLayout()
2521 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod()
[all …]
H A DDeclCXX.cpp824 if (const auto *DD = dyn_cast<CXXDestructorDecl>(D)) { in addedMember()
1405 } else if (isa<CXXDestructorDecl>(D)) { in finishedDefaultedOrDeletedMember()
1451 } else if (isa<CXXDestructorDecl>(D)) in setTrivialForCallFlags()
1878 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor()
1888 return R.empty() ? nullptr : dyn_cast<CXXDestructorDecl>(R.front()); in getDestructor()
1893 if (const CXXDestructorDecl *Destructor = getDestructor()) in isAnyDestructorNoReturn()
2133 if (isa<CXXDestructorDecl>(this)) { in getCorrespondingMethodDeclaredInClass()
2748 void CXXDestructorDecl::anchor() {} in anchor()
2750 CXXDestructorDecl *
2751 CXXDestructorDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h45 class CXXDestructorDecl; variable
99 const CXXDestructorDecl *D, CXXDtorType Type,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h47 class CXXDestructorDecl; variable
123 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {} in handleDestructorCall()
212 auto *DD = const_cast<CXXDestructorDecl *>( in walk()
457 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DAnyCall.h93 AnyCall(const CXXDestructorDecl *D) : E(nullptr), D(D), K(Destructor) {} in AnyCall()
102 } else if (isa <CXXDestructorDecl>(D)) { in AnyCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
H A DSemaExceptionSpec.cpp270 if (!isa<CXXDestructorDecl>(Decl) && in hasImplicitExceptionSpec()
281 return isa<CXXDestructorDecl>(Decl); in hasImplicitExceptionSpec()
965 if (isa<CXXDestructorDecl>(New) && New->getParent()->isDependentType()) in CheckOverridingFunctionExceptionSpec()
1219 const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DMultiplexConsumer.cpp93 void ResolvedOperatorDelete(const CXXDestructorDecl *DD,
164 const CXXDestructorDecl *DD, const FunctionDecl *Delete, Expr *ThisArg) { in ResolvedOperatorDelete()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DIssueHash.cpp43 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) && in GetSignature()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp190 if (isa<CXXDestructorDecl>(MD)) { in registerCtorDtorCallInState()

12345