Home
last modified time | relevance | path

Searched refs:NonTrivial (Results 1 – 12 of 12) sorted by relevance

/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-sret-and-byval.cpp326 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/
Dp14.cpp25 struct NonTrivial { struct
26 NonTrivial();
27 NonTrivial(const NonTrivial &);
28 ~NonTrivial();
33 CopyCtorDefault(const CopyCtorDefault&, NonTrivial nt = NonTrivial());
/external/clang/test/Analysis/
Ddtor.cpp519 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()
Dtemporaries.cpp13 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/
Dp11.0x.move.cpp4 struct NonTrivial { struct
5 NonTrivial(NonTrivial&&); // expected-note{{copy constructor is implicitly deleted}}
12NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru…
19NonTrivial 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…
Dp11.0x.copy.cpp4 struct NonTrivial { struct
5 NonTrivial(const NonTrivial&);
12NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant' is implicitly deleted beca…
20NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant2' is implicitly deleted bec…
/external/compiler-rt/test/msan/
Ddtor-trivial.cpp21 struct NonTrivial { struct
32 NonTrivial *nt = new NonTrivial(); in main() argument
33 nt->~NonTrivial(); in main()
/external/clang/test/SemaTemplate/
Dinstantiate-decl-init.cpp39 struct NonTrivial { struct
40 NonTrivial();
41 ~NonTrivial();
45 NonTrivial array[N]; in f1()
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.cpp178 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/
Dany_internal_impl_unittest.cc52 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/
Doptional_test.cc184 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/
DExpr.cpp3077 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()