/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-undelegated-constructor.cpp | 28 struct Dtor { struct 29 Dtor(); 30 Dtor(int); 31 Dtor(int, int); 32 Dtor(Ctor *i) { in Dtor() function 33 Dtor(); in Dtor() 35 Dtor(0); in Dtor() 37 Dtor(1, 2); in Dtor() 40 ~Dtor();
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | win-cleanuppad.ll | 4 %struct.Dtor = type { i8 } 8 %o = alloca %struct.Dtor, align 1 13 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 18 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 [ "funclet"(token %0) ] 29 ; CHECK: callq "??1Dtor@@QAE@XZ" 36 ; CHECK: callq "??1Dtor@@QAE@XZ" 57 declare x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor*) #1 61 %o1 = alloca %struct.Dtor, align 1 62 %o2 = alloca %struct.Dtor, align 1 71 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o2) #2 [all …]
|
D | cleanuppad-realign.ll | 5 declare void @Dtor(i64* %o) 16 call void @Dtor(i64* %o) 21 call void @Dtor(i64* %o) [ "funclet"(token %0) ]
|
/external/llvm/test/CodeGen/X86/ |
D | win-cleanuppad.ll | 4 %struct.Dtor = type { i8 } 8 %o = alloca %struct.Dtor, align 1 13 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 18 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 [ "funclet"(token %0) ] 29 ; CHECK: callq "??1Dtor@@QAE@XZ" 36 ; CHECK: callq "??1Dtor@@QAE@XZ" 57 declare x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor*) #1 61 %o1 = alloca %struct.Dtor, align 1 62 %o2 = alloca %struct.Dtor, align 1 71 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o2) #2 [all …]
|
D | cleanuppad-realign.ll | 5 declare void @Dtor(i64* %o) 16 call void @Dtor(i64* %o) 21 call void @Dtor(i64* %o) [ "funclet"(token %0) ]
|
/external/clang/test/Analysis/ |
D | temporaries.cpp | 115 struct Dtor { struct 116 ~Dtor(); 119 extern bool check(const Dtor &); 124 if (coin() && (coin() || coin() || check(Dtor()))) { in testPR16664andPR18159Crash() 125 Dtor(); in testPR16664andPR18159Crash() 302 []() { check(NoReturnDtor()); } != nullptr || check(Dtor()); in testLambdas() 330 if (!value || check((NoReturnDtor(), Dtor())) || value) { in testMultipleTemporaries() 371 check(Dtor()) && in testNoReturnInComplexCondition() 372 (check(NoReturnDtor()) || check(NoReturnDtor())) && check(Dtor()); in testNoReturnInComplexCondition() 377 b || (check(Dtor()), check(NoReturnDtor())); in testSequencingOfConditionalTempDtors() [all …]
|
D | dtor.cpp | 234 class Dtor { class 236 ~Dtor() { in ~Dtor() 242 Dtor d; in allocate()
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | cxx11-thread-local.cpp | 48 struct Dtor { ~Dtor(); }; struct 49 template<typename T> struct X { static thread_local Dtor m; }; 50 template<typename T> thread_local Dtor X<T>::m; 57 template thread_local Dtor X<float>::m; 61 extern template thread_local Dtor X<char>::m;
|
/external/clang/test/CXX/class/class.union/ |
D | p1.cpp | 34 class Dtor { class 35 …~Dtor() { abort(); } // expected-note 2 {{because type 'Dtor' has a user-provided destructor}} exp… in ~Dtor() 46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} 70 Dtor dtor; // expected-note {{because field of type 'Dtor' has a user-provided destructor}} 90 …struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destru… 131 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template}} in fred()
|
/external/llvm-project/clang/test/CXX/class/class.union/ |
D | p1.cpp | 34 class Dtor { class 35 …~Dtor() { abort(); } // expected-note 2 {{because type 'Dtor' has a user-provided destructor}} exp… in ~Dtor() 46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} 70 Dtor dtor; // expected-note {{because field of type 'Dtor' has a user-provided destructor}} 90 …struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destru… 131 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template}} in fred()
|
/external/libcxxabi/src/ |
D | cxa_thread_atexit.cpp | 17 using Dtor = void(*)(void*); typedef 25 int __cxa_thread_atexit_impl(Dtor, void*, void*); 59 Dtor dtor; 106 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(Dtor dtor, void* obj, void* dso_symbol) throw() { in __cxa_thread_atexit()
|
/external/llvm-project/libcxxabi/src/ |
D | cxa_thread_atexit.cpp | 22 using Dtor = void(*)(void*); typedef 30 int __cxa_thread_atexit_impl(Dtor, void*, void*); 64 Dtor dtor; 111 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(Dtor dtor, void* obj, void* dso_symbol) throw() { in __cxa_thread_atexit()
|
/external/llvm-project/clang/test/Analysis/ |
D | temporaries.cpp | 137 struct Dtor { struct 138 ~Dtor(); 141 extern bool check(const Dtor &); 146 if (coin() && (coin() || coin() || check(Dtor()))) { in testPR16664andPR18159Crash() 147 Dtor(); in testPR16664andPR18159Crash() 324 []() { check(NoReturnDtor()); } != nullptr || check(Dtor()); in testLambdas() 352 if (!value || check((NoReturnDtor(), Dtor())) || value) { in testMultipleTemporaries() 393 check(Dtor()) && in testNoReturnInComplexCondition() 394 (check(NoReturnDtor()) || check(NoReturnDtor())) && check(Dtor()); in testNoReturnInComplexCondition() 399 b || (check(Dtor()), check(NoReturnDtor())); in testSequencingOfConditionalTempDtors() [all …]
|
/external/clang/test/SemaCXX/ |
D | deprecated.cpp | 83 struct Dtor { struct 84 ~Dtor(); 88 Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'Dtor' first required here}}
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGClass.cpp | 1425 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() argument 1426 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization() 1430 if (!Dtor->hasTrivialBody()) in CanSkipVTablePointerInitialization() 1443 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() local 1451 if (DtorType != Dtor_Base && Dtor->getParent()->isAbstract()) { in EmitDestructorBody() 1460 Stmt *Body = Dtor->getBody(); in EmitDestructorBody() 1470 EnterDtorCleanups(Dtor, Dtor_Deleting); in EmitDestructorBody() 1472 QualType ThisTy = Dtor->getThisObjectType(); in EmitDestructorBody() 1473 EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, in EmitDestructorBody() 1503 EnterDtorCleanups(Dtor, Dtor_Complete); in EmitDestructorBody() [all …]
|
D | CGCXXABI.h | 227 const CXXDestructorDecl *Dtor) = 0; 331 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 335 const CXXDestructorDecl *Dtor, 339 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor, 458 const CXXDestructorDecl *Dtor, 588 llvm::FunctionCallee Dtor,
|
D | CGExprCXX.cpp | 94 GlobalDecl Dtor, const CGCallee &Callee, llvm::Value *This, QualType ThisTy, in EmitCXXDestructorCall() argument 96 const CXXMethodDecl *DtorDecl = cast<CXXMethodDecl>(Dtor.getDecl()); in EmitCXXDestructorCall() 114 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(Dtor), Callee, in EmitCXXDestructorCall() 322 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() local 324 GlobalDecl(Dtor, Dtor_Complete)); in EmitCXXMemberOrOperatorMemberCallExpr() 360 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) { in EmitCXXMemberOrOperatorMemberCallExpr() local 365 CGM.getCXXABI().EmitVirtualDestructorCall(*this, Dtor, Dtor_Complete, in EmitCXXMemberOrOperatorMemberCallExpr() 369 GlobalDecl GD(Dtor, Dtor_Complete); in EmitCXXMemberOrOperatorMemberCallExpr() 371 if (getLangOpts().AppleKext && Dtor->isVirtual() && HasQualifier) in EmitCXXMemberOrOperatorMemberCallExpr() 372 Callee = BuildAppleKextVirtualCall(Dtor, Qualifier, Ty); in EmitCXXMemberOrOperatorMemberCallExpr() [all …]
|
D | CGCXXABI.cpp | 265 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage() argument 268 CGM.setDLLImportDLLExport(GV, Dtor); in setCXXDestructorDLLStorage() 272 GVALinkage Linkage, const CXXDestructorDecl *Dtor, CXXDtorType DT) const { in getCXXDestructorLinkage() argument 274 return CGM.getLLVMLinkageForDeclarator(Dtor, Linkage, in getCXXDestructorLinkage()
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 1485 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() argument 1486 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization() 1490 if (!Dtor->hasTrivialBody()) in CanSkipVTablePointerInitialization() 1503 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() local 1506 Stmt *Body = Dtor->getBody(); in EmitDestructorBody() 1515 EnterDtorCleanups(Dtor, Dtor_Deleting); in EmitDestructorBody() 1516 EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, in EmitDestructorBody() 1548 EnterDtorCleanups(Dtor, Dtor_Complete); in EmitDestructorBody() 1551 EmitCXXDestructorCall(Dtor, Dtor_Base, /*ForVirtualBase=*/false, in EmitDestructorBody() 1561 EnterDtorCleanups(Dtor, Dtor_Base); in EmitDestructorBody() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | RefCntblBaseVirtualDtorChecker.cpp | 84 const auto *Dtor = (*RefCntblBaseRD)->getDestructor(); in visitCXXRecordDecl() local 85 if (!Dtor || !Dtor->isVirtual()) { in visitCXXRecordDecl()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | tsd_dtor_leak.cpp | 21 void Dtor(void *tsd) { in Dtor() function 28 assert(0 == pthread_key_create(&tsd_key, Dtor)); in main()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | tsd_dtor_leak.cc | 20 void Dtor(void *tsd) { in Dtor() function 27 assert(0 == pthread_key_create(&tsd_key, Dtor)); in main()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | deprecated.cpp | 97 struct Dtor { struct 98 ~Dtor(); 102 …Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'DeprecatedCopy::Dtor' first req…
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | SpecialMemberFunctionsCheck.cpp | 117 if (const auto *Dtor = Result.Nodes.getNodeAs<CXXMethodDecl>("dtor")) { in check() local 118 StoreMember({Dtor->isDefaulted() in check() 121 Dtor->isDeleted()}); in check()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceDefs.h | 219 for (auto Dtor = Dtors.rbegin(); Dtor != Dtors.rend(); ++Dtor) { in clearAndPurge() local 220 (*Dtor)(); in clearAndPurge()
|