Searched refs:NonTrivial (Results 1 – 8 of 8) sorted by relevance
283 struct NonTrivial { struct284 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 { struct313 NonTrivial();314 NonTrivial(const NonTrivial &o);315 ~NonTrivial();[all …]
25 struct NonTrivial { struct26 NonTrivial();27 NonTrivial(const NonTrivial &);28 ~NonTrivial();33 CopyCtorDefault(const CopyCtorDefault&, NonTrivial nt = NonTrivial());
39 struct NonTrivial { struct40 NonTrivial();41 ~NonTrivial();45 NonTrivial array[N]; in f1()
4 struct NonTrivial { struct5 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…
4 struct NonTrivial { struct5 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…
12 struct NonTrivial : public Trivial { struct13 NonTrivial(int x) : Trivial(x) {} in NonTrivial() argument14 ~NonTrivial();27 NonTrivial getNonTrivial() { in getNonTrivial()28 return NonTrivial(42); // no-warning in getNonTrivial()31 const NonTrivial &getNonTrivialRef() { in getNonTrivialRef()32 …return NonTrivial(42); // expected-warning {{Address of stack memory associated with temporary obj… in getNonTrivialRef()
178 class NonTrivial { class180 ~NonTrivial();188 NonTrivial().getNull()->doSomething(); in testImmediate()195 SomeClass *ptr = NonTrivial().getNull(); in testAssignment()210 testArgumentHelper(NonTrivial().getNull()); in testArgument()
3045 bool NonTrivial; member in __anon88b3d4e90211::NonTrivialCallFinder3049 : Inherited(Context), NonTrivial(false) { } in NonTrivialCallFinder()3051 bool hasNonTrivialCall() const { return NonTrivial; } in hasNonTrivialCall()3063 NonTrivial = true; in VisitCallExpr()3073 NonTrivial = true; in VisitCXXConstructExpr()3082 NonTrivial = true; in VisitCXXBindTemporaryExpr()