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{});
67 struct A { struct
68 A();
69 ~A();
76 (void)A(); in f1()
80 A().f(); in f1()
163 G(A);
165 operator A();
168 void a(const A&);
174 a(A()); in f7()
186 struct A { struct
187 A();
188 ~A();
193 int g(const A&);
206 : a1(A().f()) in B()
210 , a2(g(A())) in B()
218 A f8() { in f8()
221 return A(); in f8()
306 struct A { ~A(); }; struct
308 struct B { operator A(); };
311 template<typename T> A f2(T) { in f2()
318 template A f2<int>(int);
324 struct A { struct
325 A();
326 ~A();
338 int& i = f(A().f()); in g()
377 struct A { ~A(); }; struct
383 A(); in foo()
395 struct A { struct
396 A(); A(const A &); ~A();
402 A fooA();
403 void takeA(A a);
415 A i = (foo(), A()); in test0()
420 A j = (fooA(), A()); in test0()
425 A k = (A(), fooA()); in test0()
434 void test1(bool c, A x) { in test1()
440 A i = (c ? A() : x); in test1()
444 A j = (c ? x : A()); in test1()
451 A test2() { in test2()
455 return (foo(), A()); in test2()
459 A test3(int v, A x) { in test3()
463 return (v < 0 ? A() : x); in test3()
467 return (v > 10 ? x : A()); in test3()
478 A x; in test4()
484 A xs[] = { A(), x }; in test4()
500 struct B { A a; B(); };
501 A test5() { in test5()
520 A x = B().a; in test5()
533 struct C { operator A() const; };
541 A(*x).foo(); in test6()
546 struct A { A(int); ~A(); }; struct
571 b ? A(2) : A(3); in foo()
576 struct A { A(); ~A(); }; struct
589 (void) (A [3]) {}; in foo()
594 struct A { ~A(); }; struct
595 struct B { A operator=(const B&); };
615 struct A { struct
616 A();
617 ~A();
626 int &&a = A().a;
632 int &&b = (f(), A().a);
634 int A::*h();
643 int &&c = (f(), (g(), A().*h()));
647 A a;
693 struct A { A(int); ~A(); }; struct
699 A &&a = 0; in f()
709 struct A { A(); ~A(); }; struct
713 struct E { const A &a; B b; const C &c; ~E(); };
715 E &&e1 = { A(), B(), D().c };
729 E e2 = { A(), B(), D().c };
746 E &&e1 = { A(), B(), D().c }; in f()
761 E e2 = { A(), B(), D().c }; in f()
785 struct A { A(int); ~A(); }; struct
788 using T = A[3]; in f()
796 A &&a = T{1, 2, 3}[1]; in f()
804 A &&b = 2[T{4, 5, 6}]; in f()
823 struct A {}; struct
824 struct B : A { B(); ~B(); };
825 struct C : A { C(); ~C(); };
842 A &&r = b ? static_cast<A&&>(B()) : static_cast<A&&>(C()); in f()
858 struct D { A &&a; };
908 A &&r = b ? static_cast<A&&>(B()) : static_cast<A&&>(C());
914 struct A { X &&x; }; struct
915 struct B : A {};