/external/clang/test/SemaCXX/ |
deprecated.cpp | 62 struct Dtor { 63 ~Dtor(); 64 // expected-warning@-1 {{definition of implicit copy constructor for 'Dtor' is deprecated because it has a user-declared destructor}} 65 // expected-warning@-2 {{definition of implicit copy assignment operator for 'Dtor' is deprecated because it has a user-declared destructor}} 67 Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'Dtor' first required here}} 68 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::__anon22169 90 struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destructor} [all...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
tsd_dtor_leak.cc | 20 void Dtor(void *tsd) { 27 assert(0 == pthread_key_create(&tsd_key, Dtor));
|
/external/clang/test/Analysis/ |
temporaries.cpp | 115 struct Dtor { 116 ~Dtor(); 119 extern bool check(const Dtor &); 123 if (coin() && (coin() || coin() || check(Dtor()))) { 124 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();
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
comdef.h | 57 void Dtor() throw(); 76 Dtor(); 81 Dtor(); 153 inline void _com_error::Dtor() throw() {
|
/external/clang/lib/CodeGen/ |
CGClass.cpp | 307 // If the record matches the base, this is the complete ctor/dtor 310 "doing no-op VTT offset in base dtor/ctor?"); 1637 const CXXDestructorDecl *dtor = record->getDestructor(); local [all...] |
CGCXXABI.h | 268 /// 'this' if HasThisReturn(GlobalDecl(Dtor, T)) is true or 'void' otherwise 270 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 276 /// delegating thunk, regardless of whether the dtor is defined in this TU or 278 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 372 const CXXDestructorDecl *Dtor, 497 /// \param dtor - a function taking a single pointer argument 500 llvm::Constant *dtor, llvm::Constant *addr);
|
CGExprCXX.cpp | 162 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) 163 FInfo = &CGM.getTypes().arrangeCXXDestructor(Dtor, 182 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { 187 CGM.getCXXABI().EmitVirtualDestructorCall(*this, Dtor, Dtor_Complete, 195 Callee = CGM.GetAddrOfCXXDestructor(Dtor, Dtor_Complete, FInfo, Ty); [all...] |
CGException.cpp | 455 llvm::Constant *Dtor = nullptr; 460 Dtor = CGM.GetAddrOfCXXDestructor(DtorD, Dtor_Complete); 461 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); 464 if (!Dtor) Dtor = llvm::Constant::getNullValue(Int8PtrTy); 466 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor }; [all...] |
CGDecl.cpp | 383 const CXXDestructorDecl *Dtor, 385 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 387 const CXXDestructorDecl *Dtor; 392 // Along the exceptions path we always execute the dtor. 405 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 1225 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); local [all...] |
ItaniumCXXABI.cpp | 147 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 151 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 196 const CXXDestructorDecl *Dtor, 234 llvm::Constant *dtor, llvm::Constant *addr) override; [all...] |
MicrosoftCXXABI.cpp | 139 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 145 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 213 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 | 557 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); 558 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), 562 const CFGDeleteDtor &Dtor = Source.castAs<CFGDeleteDtor>(); 563 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx); [all...] |
ExprEngine.cpp | 549 llvm_unreachable("Unexpected dtor kind."); 575 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, 578 const VarDecl *varDecl = Dtor.getVarDecl(); 590 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false, 594 void ExprEngine::ProcessDeleteDtor(const CFGDeleteDtor Dtor, 599 const CXXDeleteExpr *DE = Dtor.getDeleteExpr(); 609 const CXXDestructorDecl *Dtor = RD->getDestructor(); 611 PostImplicitCall PP(Dtor, DE->getLocStart(), LCtx); [all...] |
/external/clang/lib/Analysis/ |
LiveVariables.cpp | 461 if (Optional<CFGAutomaticObjDtor> Dtor = 463 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl());
|
ThreadSafety.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaAccess.cpp | [all...] |
SemaType.cpp | [all...] |
SemaDeclCXX.cpp | 4548 CXXDestructorDecl *dtor = Record->getDestructor(); local [all...] |
/external/chromium_org/components/nacl/loader/ |
nacl_ipc_adapter.cc | 104 // because this is owned by the NaClDesc, and the NaCl Dtor code will call free. 114 // Trivial class, just pass through to the "base" struct Dtor. 117 (*nrcp->vtbl->Dtor)(nrcp);
|
/external/clang/lib/AST/ |
DeclCXX.cpp | 375 // C++11 [class.ctor]p5, C++11 [class.copy]p11, C++11 [class.dtor]p5: 376 // A defaulted [ctor or dtor] for a class X is defined as 379 // that is deleted or inaccessible from the defaulted [ctor or dtor]. 381 // that is deleted or inaccessible from the defaulted [ctor or dtor]. 545 // C++11 [class.dtor]p5: [all...] |