Home
last modified time | relevance | path

Searched refs:Dtor (Results 1 – 25 of 94) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-undelegated-constructor.cpp28 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/
Dwin-cleanuppad.ll4 %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 …]
Dcleanuppad-realign.ll5 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/
Dwin-cleanuppad.ll4 %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 …]
Dcleanuppad-realign.ll5 declare void @Dtor(i64* %o)
16 call void @Dtor(i64* %o)
21 call void @Dtor(i64* %o) [ "funclet"(token %0) ]
/external/clang/test/Analysis/
Dtemporaries.cpp115 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 …]
Ddtor.cpp234 class Dtor { class
236 ~Dtor() { in ~Dtor()
242 Dtor d; in allocate()
/external/llvm-project/clang/test/CodeGenCXX/
Dcxx11-thread-local.cpp48 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/
Dp1.cpp34 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/
Dp1.cpp34 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/
Dcxa_thread_atexit.cpp17 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/
Dcxa_thread_atexit.cpp22 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/
Dtemporaries.cpp137 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/
Ddeprecated.cpp83 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/
DCGClass.cpp1425 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 …]
DCGCXXABI.h227 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,
DCGExprCXX.cpp94 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 …]
DCGCXXABI.cpp265 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/
DCGClass.cpp1485 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/
DRefCntblBaseVirtualDtorChecker.cpp84 const auto *Dtor = (*RefCntblBaseRD)->getDestructor(); in visitCXXRecordDecl() local
85 if (!Dtor || !Dtor->isVirtual()) { in visitCXXRecordDecl()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dtsd_dtor_leak.cpp21 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/
Dtsd_dtor_leak.cc20 void Dtor(void *tsd) { in Dtor() function
27 assert(0 == pthread_key_create(&tsd_key, Dtor)); in main()
/external/llvm-project/clang/test/SemaCXX/
Ddeprecated.cpp97 struct Dtor { struct
98 ~Dtor();
102Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'DeprecatedCopy::Dtor' first req…
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSpecialMemberFunctionsCheck.cpp117 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/
DIceDefs.h219 for (auto Dtor = Dtors.rbegin(); Dtor != Dtors.rend(); ++Dtor) { in clearAndPurge() local
220 (*Dtor)(); in clearAndPurge()

1234