Searched refs:CXXDestructorDecl (Results 1 - 25 of 86) sorted by relevance

1234

/external/clang/include/clang/AST/
H A DGlobalDecl.h27 /// a CXXDestructorDecl and the destructor type (Base, Complete) or
34 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!");
51 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type)
70 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
H A DASTMutationListener.h21 class CXXDestructorDecl;
81 virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD,
H A DMangle.h30 class CXXDestructorDecl;
103 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type,
113 virtual void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type,
122 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT,
169 virtual void mangleCXXDtorComdat(const CXXDestructorDecl *D,
H A DVTableBuilder.h73 assert(!isa<CXXDestructorDecl>(MD) &&
80 static VTableComponent MakeCompleteDtor(const CXXDestructorDecl *DD) {
85 static VTableComponent MakeDeletingDtor(const CXXDestructorDecl *DD) {
91 assert(!isa<CXXDestructorDecl>(MD) &&
136 const CXXDestructorDecl *getDestructorDecl() const {
138 return reinterpret_cast<CXXDestructorDecl *>(getPointer());
546 if (isa<CXXDestructorDecl>(GD.getDecl()) &&
H A DDeclCXX.h38 class CXXDestructorDecl;
1413 CXXDestructorDecl *getDestructor() const;
2411 /// ~X(); // represented by a CXXDestructorDecl.
2414 class CXXDestructorDecl : public CXXMethodDecl { class in namespace:clang
2419 CXXDestructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, function in class:clang::CXXDestructorDecl
2430 static CXXDestructorDecl *Create(ASTContext &C, CXXRecordDecl *RD,
2436 static CXXDestructorDecl *CreateDeserialized(ASTContext & C, unsigned ID);
2440 return cast<CXXDestructorDecl>(getFirstDecl())->OperatorDelete;
/external/clang/lib/CodeGen/
H A DCGCXX.cpp34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) {
107 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor();
226 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) {
249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type));
301 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD))
311 const CXXDestructorDecl *DD,
H A DCGCXXABI.h31 class CXXDestructorDecl;
233 const CXXDestructorDecl *Dtor) = 0;
302 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
306 virtual void EmitCXXDestructors(const CXXDestructorDecl *D) = 0;
366 const CXXDestructorDecl *DD, CXXDtorType Type,
414 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor,
H A DCGVTables.cpp42 if (const CXXDestructorDecl* DD = dyn_cast<CXXDestructorDecl>(MD))
231 if (isa<CXXDestructorDecl>(MD))
283 if (isa<CXXDestructorDecl>(MD))
298 assert(isa<CXXDestructorDecl>(MD) || // ignore dtor return types
510 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base)
H A DCGClass.cpp486 const CXXDestructorDecl *D = BaseClass->getDestructor();
858 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent();
1485 const CXXDestructorDecl *Dtor) {
1503 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl());
1619 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl);
1643 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl);
1694 const CXXDestructorDecl *Dto
[all...]
H A DItaniumCXXABI.cpp75 if (isa<CXXDestructorDecl>(GD.getDecl())) {
155 const CXXDestructorDecl *Dtor) override;
210 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
218 void EmitCXXDestructors(const CXXDestructorDecl *D) override;
231 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD,
269 const CXXDestructorDecl *Dtor,
409 isa<CXXDestructorDecl>(GD.getDecl()) &&
443 (isa<CXXDestructorDecl>(GD.getDecl()) &&
1000 const CXXDestructorDecl *Dtor) {
1095 CXXDestructorDecl *Dtor
[all...]
H A DMicrosoftCXXABI.cpp63 if (isa<CXXDestructorDecl>(GD.getDecl())) {
117 const CXXDestructorDecl *Dtor) override;
209 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
214 void EmitCXXDestructors(const CXXDestructorDecl *D) override;
219 if (MD->isVirtual() && !isa<CXXDestructorDecl>(MD)) {
253 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD,
292 const CXXDestructorDecl *Dtor,
855 const CXXDestructorDecl *Dtor) {
1070 return isa<CXXDestructorDecl>(GD.getDecl()) &&
1253 void MicrosoftCXXABI::EmitCXXDestructors(const CXXDestructorDecl *
[all...]
H A DCodeGenTypes.h37 class CXXDestructorDecl;
H A DCGExprCXX.cpp86 const CXXDestructorDecl *DD, llvm::Value *Callee, llvm::Value *This,
177 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr);
209 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl))
229 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) {
243 const CXXDestructorDecl *DDtor =
244 cast<CXXDestructorDecl>(DevirtualizedMethod);
1551 const CXXDestructorDecl *Dtor = nullptr;
/external/clang/lib/AST/
H A DMangle.cpp212 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD,
223 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC));
239 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC))
H A DDeclCXX.cpp566 if (CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(D)) {
1008 } else if (isa<CXXDestructorDecl>(D)) {
1364 CXXDestructorDecl *CXXRecordDecl::getDestructor() const {
1376 CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(R.front());
1382 if (const CXXDestructorDecl *Destructor = getDestructor())
1494 if (isa<CXXDestructorDecl>(this)) {
1951 void CXXDestructorDecl::anchor() { }
1953 CXXDestructorDecl *
[all...]
H A DVTableBuilder.cpp494 if (isa<CXXDestructorDecl>(LHS))
495 return isa<CXXDestructorDecl>(RHS);
1149 if (isa<CXXDestructorDecl>(MD)) {
1308 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) {
1491 const CXXDestructorDecl *ImplicitVirtualDtor = nullptr;
1559 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) {
1682 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(M
[all...]
H A DMicrosoftMangle.cpp143 void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type,
181 void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type,
286 const CXXDestructorDecl *D, CXXDtorType Type)
1811 if (isa<CXXDestructorDecl>(MD)) {
1838 if (isa<CXXDestructorDecl>(D) && D == Structor &&
2450 assert(!isa<CXXConstructorDecl>(D) && !isa<CXXDestructorDecl>(D) &&
2582 const CXXDestructorDecl *DD, CXXDtorType Type,
2819 void MicrosoftMangleContextImpl::mangleCXXDtor(const CXXDestructorDecl *D,
/external/clang/lib/Index/
H A DCodegenNameGenerator.cpp100 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) {
123 else if (const auto *DtorD = dyn_cast<CXXDestructorDecl>(D))
152 else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND))
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h105 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {}
195 CXXDestructorDecl *DD = const_cast<CXXDestructorDecl*>(
449 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp235 if (CXXDestructorDecl *DD = RD->getDestructor())
/external/clang/lib/Frontend/
H A DASTConsumers.cpp339 const CXXDestructorDecl* D = cast<CXXDestructorDecl>(DC);
H A DMultiplexConsumer.cpp118 void ResolvedOperatorDelete(const CXXDestructorDecl *DD,
185 const CXXDestructorDecl *DD, const FunctionDecl *Delete) {
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp194 if (!isa<CXXDestructorDecl>(Decl) &&
205 return isa<CXXDestructorDecl>(Decl);
840 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) {
1040 const CXXDestructorDecl *DD = RD->getDestructor();
/external/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp37 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) &&
/external/v8/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp414 } else if (CXXDestructorDecl* dtor = record->getDestructor()) {
487 } else if (isa<CXXDestructorDecl>(*it) &&
718 if (CXXDestructorDecl* dtor = record->getDestructor()) {
835 if (CXXDestructorDecl* dtor =

Completed in 1084 milliseconds

1234