Home
last modified time | relevance | path

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

/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-sret-and-byval.cpp283 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/
Dp14.cpp25 struct NonTrivial { struct
26 NonTrivial();
27 NonTrivial(const NonTrivial &);
28 ~NonTrivial();
33 CopyCtorDefault(const CopyCtorDefault&, NonTrivial nt = NonTrivial());
/external/clang/test/SemaTemplate/
Dinstantiate-decl-init.cpp39 struct NonTrivial { struct
40 NonTrivial();
41 ~NonTrivial();
45 NonTrivial array[N]; in f1()
/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/clang/test/Analysis/
Dtemporaries.cpp12 struct NonTrivial : public Trivial { struct
13 NonTrivial(int x) : Trivial(x) {} in NonTrivial() argument
14 ~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()
/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/clang/lib/AST/
DExpr.cpp3045 bool NonTrivial; member in __anon88b3d4e90211::NonTrivialCallFinder
3049 : 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()