Lines Matching refs:A
15 struct A { int n; }; struct
17 struct C : A, B {};
18 extern const A &&a = (A&&)(A&&)(C&&)(C{});
33 struct A { ~A(); }; struct
37 A &&a = dynamic_cast<A&&>(A{});
56 struct A { struct
57 A();
58 ~A();
65 (void)A(); in f1()
69 A().f(); in f1()
152 G(A);
154 operator A();
157 void a(const A&);
163 a(A()); in f7()
175 struct A { struct
176 A();
177 ~A();
182 int g(const A&);
195 : a1(A().f()) in B()
199 , a2(g(A())) in B()
207 A f8() { in f8()
210 return A(); in f8()
295 struct A { ~A(); }; struct
297 struct B { operator A(); };
300 template<typename T> A f2(T) { in f2()
307 template A f2<int>(int);
313 struct A { struct
314 A();
315 ~A();
327 int& i = f(A().f()); in g()
366 struct A { ~A(); }; struct
372 A(); in foo()
384 struct A { struct
385 A(); A(const A &); ~A();
391 A fooA();
392 void takeA(A a);
404 A i = (foo(), A()); in test0()
409 A j = (fooA(), A()); in test0()
414 A k = (A(), fooA()); in test0()
423 void test1(bool c, A x) { in test1()
429 A i = (c ? A() : x); in test1()
433 A j = (c ? x : A()); in test1()
440 A test2() { in test2()
444 return (foo(), A()); in test2()
448 A test3(int v, A x) { in test3()
452 return (v < 0 ? A() : x); in test3()
456 return (v > 10 ? x : A()); in test3()
467 A x; in test4()
473 A xs[] = { A(), x }; in test4()
489 struct B { A a; B(); };
490 A test5() { in test5()
509 A x = B().a; in test5()
522 struct C { operator A() const; };
530 A(*x).foo(); in test6()
535 struct A { A(int); ~A(); }; struct
560 b ? A(2) : A(3); in foo()
565 struct A { A(); ~A(); }; struct
578 (void) (A [3]) {}; in foo()
583 struct A { ~A(); }; struct
584 struct B { A operator=(const B&); };
604 struct A { struct
605 A();
606 ~A();
615 int &&a = A().a;
621 int &&b = (f(), A().a);
623 int A::*h();
632 int &&c = (f(), (g(), A().*h()));
636 A a;
682 struct A { A(int); ~A(); }; struct
688 A &&a = 0; in f()
698 struct A { A(); ~A(); }; struct
702 struct E { const A &a; B b; const C &c; ~E(); };
704 E &&e1 = { A(), B(), D().c };
718 E e2 = { A(), B(), D().c };
735 E &&e1 = { A(), B(), D().c }; in f()
750 E e2 = { A(), B(), D().c }; in f()
774 struct A { A(int); ~A(); }; struct
777 using T = A[3]; in f()
785 A &&a = T{1, 2, 3}[1]; in f()
793 A &&b = 2[T{4, 5, 6}]; in f()
812 struct A {}; struct
813 struct B : A { B(); ~B(); };
814 struct C : A { C(); ~C(); };
831 A &&r = b ? static_cast<A&&>(B()) : static_cast<A&&>(C()); in f()
847 struct D { A &&a; };
897 A &&r = b ? static_cast<A&&>(B()) : static_cast<A&&>(C());
903 struct A { X &&x; }; struct
904 struct B : A {};