/external/clang/test/CodeGenCXX/ |
D | microsoft-abi-sret-and-byval.cpp | 283 struct NonTrivial { struct 284 NonTrivial(); 285 NonTrivial(const NonTrivial &o); 286 ~NonTrivial(); 291 int foo(NonTrivial a, POD b); 295 int c = foo(NonTrivial(), b); in bar() 312 struct NonTrivial { struct 313 NonTrivial(); 314 NonTrivial(const NonTrivial &o); 315 ~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() argument 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() argument 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/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/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/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/clang/lib/AST/ |
D | Expr.cpp | 3218 bool NonTrivial; member in __anonb03df7530311::NonTrivialCallFinder 3222 : Inherited(Context), NonTrivial(false) { } in NonTrivialCallFinder() 3224 bool hasNonTrivialCall() const { return NonTrivial; } in hasNonTrivialCall() 3236 NonTrivial = true; in VisitCallExpr() 3246 NonTrivial = true; in VisitCXXConstructExpr() 3255 NonTrivial = true; in VisitCXXBindTemporaryExpr()
|