/external/clang/test/SemaCXX/ |
deprecated.cpp | 59 struct Dtor { 60 ~Dtor(); 61 // expected-warning@-1 {{definition of implicit copy constructor for 'Dtor' is deprecated because it has a user-declared destructor}} 62 // expected-warning@-2 {{definition of implicit copy assignment operator for 'Dtor' is deprecated because it has a user-declared destructor}} 64 Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'Dtor' first required here}} 65 void g() { c1 = c2; } // expected-note {{implicit copy assignment operator for 'Dtor' first required here}}
|
/external/clang/test/CXX/class/class.union/ |
p1.cpp | 34 class Dtor { 35 ~Dtor() { abort(); } // expected-note 2 {{because type 'Dtor' has a user-provided destructor}} expected-note 2{{here}} 46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} member in union:U1 70 Dtor dtor; // expected-note {{because field of type 'Dtor' has a user-provided destructor}} member in struct:U2::__anon16276 90 struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destructor} [all...] |
/external/clang/test/Analysis/ |
temporaries.cpp | 114 struct Dtor { 115 ~Dtor(); 118 extern bool check(const Dtor &); 121 if (coin() && (coin() || coin() || check(Dtor()))) { 122 Dtor();
|
dtor.cpp | 234 class Dtor { 236 ~Dtor() { 242 Dtor d;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DynamicTypePropagation.cpp | 86 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { 88 if (!Dtor->isBaseDestructor()) 91 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); 95 const Decl *D = Dtor->getDecl();
|
/external/clang/lib/CodeGen/ |
CGCXXABI.h | 243 /// 'this' if HasThisReturn(GlobalDecl(Dtor, T)) is true or 'void' otherwise 245 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 251 /// delegating thunk, regardless of whether the dtor is defined in this TU or 253 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 284 const CXXDestructorDecl *Dtor, 391 /// \param dtor - a function taking a single pointer argument 394 llvm::Constant *dtor, llvm::Constant *addr);
|
CGClass.cpp | 305 // If the record matches the base, this is the complete ctor/dtor 308 "doing no-op VTT offset in base dtor/ctor?"); 1625 const CXXDestructorDecl *dtor = record->getDestructor(); local [all...] |
ItaniumCXXABI.cpp | 117 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 122 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 146 const CXXDestructorDecl *Dtor, 169 llvm::Constant *dtor, llvm::Constant *addr); [all...] |
MicrosoftCXXABI.cpp | 103 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 109 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 130 const CXXDestructorDecl *Dtor, 406 void MicrosoftCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, 421 // The TU defining a dtor is only guaranteed to emit a base destructor. All 518 const CXXDestructorDecl *Dtor, 527 = &CGM.getTypes().arrangeCXXDestructor(Dtor, Dtor_Deleting); 530 = CGF.BuildVirtualCall(GlobalDecl(Dtor, Dtor_Deleting), This, Ty); 537 CGF.EmitCXXMemberCall(Dtor, CallLoc, Callee, ReturnValueSlot(), This, [all...] |
CGExprCXX.cpp | 254 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) 255 FInfo = &CGM.getTypes().arrangeCXXDestructor(Dtor, 274 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { 279 CGM.getCXXABI().EmitVirtualDestructorCall(*this, Dtor, Dtor_Complete, 287 Callee = CGM.GetAddrOfCXXDestructor(Dtor, Dtor_Complete, FInfo, Ty); [all...] |
CGException.cpp | 468 llvm::Constant *Dtor = 0; 473 Dtor = CGM.GetAddrOfCXXDestructor(DtorD, Dtor_Complete); 474 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); 477 if (!Dtor) Dtor = llvm::Constant::getNullValue(Int8PtrTy); 479 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor }; [all...] |
CGDecl.cpp | 378 const CXXDestructorDecl *Dtor, 380 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 382 const CXXDestructorDecl *Dtor; 387 // Along the exceptions path we always execute the dtor. 400 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 1223 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); local [all...] |
CodeGenModule.h | 753 llvm::GlobalValue *GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 657 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); 660 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); 726 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); 727 if (!Dtor) 730 const CXXRecordDecl *RD = Dtor->getParent(); [all...] |
CallEvent.cpp | [all...] |
PathDiagnostic.cpp | 559 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); 560 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), [all...] |
ExprEngine.cpp | 539 llvm_unreachable("Unexpected dtor kind."); 546 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, 549 const VarDecl *varDecl = Dtor.getVarDecl(); 561 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false, [all...] |
/external/clang/lib/Analysis/ |
LiveVariables.cpp | 477 if (Optional<CFGAutomaticObjDtor> Dtor = 479 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl());
|
CFG.cpp | 847 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor(); 848 if (Dtor->isNoReturn()) [all...] |
/external/clang/lib/Sema/ |
SemaAccess.cpp | [all...] |
SemaDeclCXX.cpp | 4212 CXXDestructorDecl *dtor = Record->getDestructor(); local [all...] |
SemaType.cpp | [all...] |
SemaExprCXX.cpp | 2262 CXXDestructorDecl *dtor = PointeeRD->getDestructor(); local [all...] |
/external/clang/lib/AST/ |
DeclCXX.cpp | 356 // C++11 [class.ctor]p5, C++11 [class.copy]p11, C++11 [class.dtor]p5: 357 // A defaulted [ctor or dtor] for a class X is defined as 360 // that is deleted or inaccessible from the defaulted [ctor or dtor]. 362 // that is deleted or inaccessible from the defaulted [ctor or dtor]. 523 // C++11 [class.dtor]p5: [all...] |
/external/clang/include/clang/AST/ |
ExprCXX.h | [all...] |