/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::__anon6960 90 struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destructor} [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 | 334 typedef void (*Dtor)(); 335 Dtor* fini_array = reinterpret_cast<Dtor*>(array); 336 const Dtor minus1 = reinterpret_cast<Dtor>(static_cast<uintptr_t>(-1)); 354 Dtor dtor = fini_array[--count]; local 357 if (dtor == minus1) { 361 dtor();
|
/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 | 115 // TODO: if we're currently emitting a complete-object ctor/dtor, 443 // If the record matches the base, this is the complete ctor/dtor 446 "doing no-op VTT offset in base dtor/ctor?"); 2042 const CXXDestructorDecl *dtor = record->getDestructor(); local [all...] |
CGCXXABI.h | 223 const CXXDestructorDecl *Dtor) = 0; 290 /// delegating thunk, regardless of whether the dtor is defined in this TU or 292 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 398 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, 523 /// \param Dtor - a function taking a single pointer argument 526 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; 218 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 277 const CXXDestructorDecl *Dtor, 324 llvm::Constant *dtor, llvm::Constant *addr) override; [all...] |
CGOpenMPRuntime.h | 58 /// void *data, kmpc_ctor ctor, kmpc_cctor cctor, kmpc_dtor dtor); 360 /// \param Dtor Pointer to a global destructor function for \a VD. 364 llvm::Value *Dtor, SourceLocation Loc); [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 | 427 const CXXDestructorDecl *Dtor, 429 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 431 const CXXDestructorDecl *Dtor; 436 // Along the exceptions path we always execute the dtor. 450 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 1337 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); local [all...] |
CGOpenMPRuntime.cpp | 575 // kmpc_ctor ctor, kmpc_cctor cctor, kmpc_dtor dtor); [all...] |
/external/llvm/tools/lli/ |
OrcLazyJIT.h | 78 for (auto Dtor : orc::getDestructors(*M)) 79 DtorNames.push_back(mangle(Dtor.Func->getName()));
|
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcCBindingsStack.h | 189 for (auto Dtor : orc::getDestructors(*M)) 190 DtorNames.push_back(mangle(Dtor.Func->getName()));
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 658 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); 661 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); 729 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); 730 if (!Dtor) 733 const CXXRecordDecl *RD = Dtor->getParent(); [all...] |
CallEvent.cpp | [all...] |
PathDiagnostic.cpp | 558 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); 559 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), 563 const CFGDeleteDtor &Dtor = Source.castAs<CFGDeleteDtor>(); 564 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx); [all...] |
ExprEngine.cpp | 563 llvm_unreachable("Unexpected dtor kind."); 589 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, 592 const VarDecl *varDecl = Dtor.getVarDecl(); 604 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false, 608 void ExprEngine::ProcessDeleteDtor(const CFGDeleteDtor Dtor, 613 const CXXDeleteExpr *DE = Dtor.getDeleteExpr(); 623 const CXXDestructorDecl *Dtor = RD->getDestructor(); 625 PostImplicitCall PP(Dtor, DE->getLocStart(), LCtx); [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());
|
ThreadSafety.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaAccess.cpp | [all...] |