/external/clang/test/CodeGenCXX/ |
D | microsoft-abi-sret-and-byval.cpp | 326 struct NonTrivial { struct 327 NonTrivial(); 328 NonTrivial(const NonTrivial &o); 329 ~NonTrivial(); 334 int foo(NonTrivial a, POD b); 338 int c = foo(NonTrivial(), b); in bar() 355 struct NonTrivial { struct 356 NonTrivial(); 357 NonTrivial(const NonTrivial &o); 358 ~NonTrivial(); [all …]
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p14.cpp | 25 struct NonTrivial { struct 26 NonTrivial(); 27 NonTrivial(const NonTrivial &); 28 ~NonTrivial(); 33 CopyCtorDefault(const CopyCtorDefault&, NonTrivial nt = NonTrivial());
|
/external/clang/test/Analysis/ |
D | dtor.cpp | 519 struct NonTrivial { struct 521 NonTrivial() : p(new int[1]) { p[0] = 0; } in NonTrivial() function 522 NonTrivial(const NonTrivial &other) { in NonTrivial() function 526 NonTrivial &operator=(const NonTrivial &other) { in operator =() argument 530 ~NonTrivial() { in ~NonTrivial() argument 536 NonTrivial nt1; in f() 537 NonTrivial nt2(nt1); in f() 539 clang_analyzer_eval(__is_trivial(NonTrivial)); // expected-warning{{FALSE}} in f() 540 clang_analyzer_eval(__alignof(NonTrivial) > 0); // expected-warning{{TRUE}} in f()
|
D | temporaries.cpp | 13 struct NonTrivial : public Trivial { struct 14 NonTrivial(int x) : Trivial(x) {} in NonTrivial() function 15 ~NonTrivial(); 28 NonTrivial getNonTrivial() { in getNonTrivial() 29 return NonTrivial(42); // no-warning in getNonTrivial() 32 const NonTrivial &getNonTrivialRef() { in getNonTrivialRef() 33 …return NonTrivial(42); // expected-warning {{Address of stack memory associated with temporary obj… in getNonTrivialRef()
|
/external/clang/test/CXX/special/class.copy/ |
D | p11.0x.move.cpp | 4 struct NonTrivial { struct 5 NonTrivial(NonTrivial&&); // expected-note{{copy constructor is implicitly deleted}} 12 …NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru… 19 …NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru… 79 …const NonTrivial cnt; // expected-note{{deleted because field 'cnt' has a deleted move constructor…
|
D | p11.0x.copy.cpp | 4 struct NonTrivial { struct 5 NonTrivial(const NonTrivial&); 12 …NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant' is implicitly deleted beca… 20 …NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant2' is implicitly deleted bec…
|
/external/compiler-rt/test/msan/ |
D | dtor-trivial.cpp | 21 struct NonTrivial { struct 32 NonTrivial *nt = new NonTrivial(); in main() argument 33 nt->~NonTrivial(); in main()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-decl-init.cpp | 39 struct NonTrivial { struct 40 NonTrivial(); 41 ~NonTrivial(); 45 NonTrivial array[N]; in f1()
|
/external/clang/test/Analysis/inlining/ |
D | false-positive-suppression.cpp | 178 class NonTrivial { class 180 ~NonTrivial(); 188 NonTrivial().getNull()->doSomething(); in testImmediate() 195 SomeClass *ptr = NonTrivial().getNull(); in testAssignment() 210 testArgumentHelper(NonTrivial().getNull()); in testArgument()
|
/external/libbrillo/brillo/ |
D | any_internal_impl_unittest.cc | 52 class NonTrivial { in TEST() class 54 virtual ~NonTrivial() {} in TEST() 59 EXPECT_STREQ(GetTypeTag<NonTrivial*>(), buffer.GetDataPtr()->GetTypeTag()); in TEST() 63 class NonTrivial { in TEST() class 65 virtual ~NonTrivial() {} in TEST() 71 EXPECT_STREQ(GetTypeTag<NonTrivial>(), buffer.GetDataPtr()->GetTypeTag()); in TEST()
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | optional_test.cc | 184 struct NonTrivial { in TEST() struct 185 ~NonTrivial() {} in TEST() argument 190 EXPECT_FALSE(std::is_trivially_destructible<optional<NonTrivial>>::value); in TEST()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 3077 bool NonTrivial; member in __anon1ddc5c0f0311::NonTrivialCallFinder 3081 : Inherited(Context), NonTrivial(false) { } in NonTrivialCallFinder() 3083 bool hasNonTrivialCall() const { return NonTrivial; } in hasNonTrivialCall() 3095 NonTrivial = true; in VisitCallExpr() 3105 NonTrivial = true; in VisitCXXConstructExpr() 3114 NonTrivial = true; in VisitCXXBindTemporaryExpr()
|