/external/clang/test/SemaCXX/ |
deprecated.cpp | 83 struct Dtor { 84 ~Dtor(); 85 // expected-warning@-1 {{definition of implicit copy constructor for 'Dtor' is deprecated because it has a user-declared destructor}} 86 // expected-warning@-2 {{definition of implicit copy assignment operator for 'Dtor' is deprecated because it has a user-declared destructor}} 88 Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'Dtor' first required here}} 89 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::__anon14591 90 struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destructor} [all...] |
/external/libcxxabi/src/ |
cxa_thread_atexit.cpp | 17 using Dtor = void(*)(void*); 25 int __cxa_thread_atexit_impl(Dtor, void*, void*); 59 Dtor dtor; member in struct:__cxxabiv1::__anon23150::DtorList 74 head->dtor(head->obj); 106 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(Dtor dtor, void* obj, void* dso_symbol) throw() { 108 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol); 111 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol); 129 head->dtor = dtor [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
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 &); 124 if (coin() && (coin() || coin() || check(Dtor()))) { 125 Dtor(); 302 []() { check(NoReturnDtor()); } != nullptr || check(Dtor()); 328 // ~Dtor should run before ~NoReturnDtor() because construction order is 330 if (!value || check((NoReturnDtor(), Dtor())) || value) { 371 check(Dtor()) && 372 (check(NoReturnDtor()) || check(NoReturnDtor())) && check(Dtor()); [all...] |
dtor.cpp | 234 class Dtor { 236 ~Dtor() { 242 Dtor d;
|
/bionic/libc/bionic/ |
libc_init_common.cpp | 351 typedef void (*Dtor)(); 352 Dtor* fini_array = reinterpret_cast<Dtor*>(array); 353 const Dtor minus1 = reinterpret_cast<Dtor>(static_cast<uintptr_t>(-1)); 371 Dtor dtor = fini_array[--count]; local 374 if (dtor == minus1) { 378 dtor();
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
comdef.h | 60 void Dtor() throw(); 79 Dtor(); 84 Dtor(); 156 inline void _com_error::Dtor() throw() {
|
/external/llvm/tools/lli/ |
OrcLazyJIT.h | 75 for (auto Dtor : orc::getDestructors(*M)) 76 DtorNames.push_back(mangle(Dtor.Func->getName()));
|
/external/swiftshader/third_party/subzero/src/ |
IceDefs.h | 219 for (auto Dtor = Dtors.rbegin(); Dtor != Dtors.rend(); ++Dtor) { 220 (*Dtor)();
|
IceGlobalContext.cpp | 695 for (const auto &Dtor : reverse_range(*Dtors)) 696 Dtor(); [all...] |
/external/clang/lib/CodeGen/ |
CGClass.cpp | 116 // TODO: if we're currently emitting a complete-object ctor/dtor, 444 // If the record matches the base, this is the complete ctor/dtor 447 "doing no-op VTT offset in base dtor/ctor?"); 2040 const CXXDestructorDecl *dtor = record->getDestructor(); local [all...] |
CGCXXABI.h | 233 const CXXDestructorDecl *Dtor) = 0; 300 /// delegating thunk, regardless of whether the dtor is defined in this TU or 302 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 414 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, 539 /// \param Dtor - a function taking a single pointer argument 542 llvm::Constant *Dtor,
|
CGExprCXX.cpp | 209 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) 211 Dtor, StructorType::Complete); 229 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { 235 *this, Dtor, Dtor_Complete, This, cast<CXXMemberCallExpr>(CE)); 241 CGM.getAddrOfCXXStructor(Dtor, StructorType::Complete, FInfo, Ty); [all...] |
ItaniumCXXABI.cpp | 85 llvm_unreachable("emitting dtor comdat as function?"); 87 llvm_unreachable("bad dtor kind"); 104 llvm_unreachable("bad dtor kind"); 155 const CXXDestructorDecl *Dtor) override; 210 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 269 const CXXDestructorDecl *Dtor, 316 llvm::Constant *dtor, llvm::Constant *addr) override; [all...] |
MicrosoftCXXABI.cpp | 72 case Dtor_Comdat: llvm_unreachable("emitting dtor comdat as function?"); 74 llvm_unreachable("bad dtor kind"); 117 const CXXDestructorDecl *Dtor) override; 209 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 292 const CXXDestructorDecl *Dtor, 392 llvm::Constant *Dtor, llvm::Constant *Addr) override; [all...] |
CGDecl.cpp | 443 const CXXDestructorDecl *Dtor, 445 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 447 const CXXDestructorDecl *Dtor; 452 // Along the exceptions path we always execute the dtor. 466 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 1349 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); local [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
ELFWriter.cpp | 208 const MCSectionELF *Dtor = (const MCSectionELF *)TLOF.getStaticDtorSection(); 209 return getSection(Dtor->getSectionName(), Dtor->getType(), Dtor->getFlags()); 651 ELFSection &Dtor = getDtorSection(); 652 Dtor.emitAlignment(Align); 653 EmitXXStructorList(GV->getInitializer(), Dtor); 660 /// EmitXXStructorList - Emit the ctor or dtor list. This just emits out the [all...] |
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcCBindingsStack.h | 179 for (auto Dtor : orc::getDestructors(*M)) 180 DtorNames.push_back(mangle(Dtor.Func->getName()));
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 645 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); 648 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); 716 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); 717 if (!Dtor) 720 const CXXRecordDecl *RD = Dtor->getParent(); [all...] |
CallEvent.cpp | [all...] |
PathDiagnostic.cpp | 556 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); 557 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), 561 const CFGDeleteDtor &Dtor = Source.castAs<CFGDeleteDtor>(); 562 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DynamicTypePropagation.cpp | 183 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { 185 if (!Dtor->isBaseDestructor()) 188 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); 192 const Decl *D = Dtor->getDecl(); [all...] |
/external/clang/lib/Analysis/ |
LiveVariables.cpp | 456 if (Optional<CFGAutomaticObjDtor> Dtor = 458 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl());
|
/external/clang/lib/Sema/ |
SemaAccess.cpp | [all...] |