• Home
  • Raw
  • Download

Lines Matching full:foo

30     Opaque<0> foo(Opaque<0>);
31 Opaque<0> foo(Opaque<1>);
32 Opaque<0> foo(Opaque<2>);
37 using Base::foo;
38 Opaque<1> foo(Opaque<1>);
39 Opaque<1> foo(Opaque<3>);
41 void test0() { Opaque<0> _ = foo(Opaque<0>()); } in test0()
42 void test1() { Opaque<1> _ = foo(Opaque<1>()); } in test1()
43 void test2() { Opaque<0> _ = foo(Opaque<2>()); } in test2()
44 void test3() { Opaque<1> _ = foo(Opaque<3>()); } in test3()
49 Opaque<1> foo(Opaque<1>);
50 Opaque<1> foo(Opaque<3>);
51 using Base::foo;
53 void test0() { Opaque<0> _ = foo(Opaque<0>()); } in test0()
54 void test1() { Opaque<1> _ = foo(Opaque<1>()); } in test1()
55 void test2() { Opaque<0> _ = foo(Opaque<2>()); } in test2()
56 void test3() { Opaque<1> _ = foo(Opaque<3>()); } in test3()
61 Opaque<1> foo(Opaque<0>);
62 using Base::foo;
63 Opaque<1> foo(Opaque<2>);
64 Opaque<1> foo(Opaque<3>);
66 void test0() { Opaque<1> _ = foo(Opaque<0>()); } in test0()
67 void test1() { Opaque<0> _ = foo(Opaque<1>()); } in test1()
68 void test2() { Opaque<1> _ = foo(Opaque<2>()); } in test2()
69 void test3() { Opaque<1> _ = foo(Opaque<3>()); } in test3()
76 void foo(int);
80 using Base::foo;
81 void foo(T);
83 void testUnresolved(int i) { foo(i); } in testUnresolved()
88 d1.foo(i); in test0()
94 void foo(T);
95 using Base::foo;
97 void testUnresolved(int i) { foo(i); } in testUnresolved()
102 d2.foo(i); in test1()
110 template <class T> Opaque<0> foo() { return Opaque<0>(); } in foo() function
111 template <int n> Opaque<1> foo() { return Opaque<1>(); } in foo() function
115 using Base::foo;
116 …template <int n> Opaque<2> foo() { return Opaque<2>(); } // expected-note {{invalid explicitly-spe… in foo() function
120 …template <int n> Opaque<2> foo() { return Opaque<2>(); } // expected-note {{invalid explicitly-spe… in foo() function
121 using Base::foo;
125 using Base::foo;
126 …template <class T> Opaque<3> foo() { return Opaque<3>(); } // expected-note {{invalid explicitly-s… in foo() function
130 …template <class T> Opaque<3> foo() { return Opaque<3>(); } // expected-note {{invalid explicitly-s… in foo() function
131 using Base::foo;
135 expect<0>(Base().foo<int>()); in test()
136 expect<1>(Base().foo<0>()); in test()
137 …expect<0>(Derived1().foo<int>()); // expected-error {{no matching member function for call to 'foo in test()
138 expect<2>(Derived1().foo<0>()); in test()
139 …expect<0>(Derived2().foo<int>()); // expected-error {{no matching member function for call to 'foo in test()
140 expect<2>(Derived2().foo<0>()); in test()
141 expect<3>(Derived3().foo<int>()); in test()
142 …expect<1>(Derived3().foo<0>()); // expected-error {{no matching member function for call to 'foo'}} in test()
143 expect<3>(Derived4().foo<int>()); in test()
144 …expect<1>(Derived4().foo<0>()); // expected-error {{no matching member function for call to 'foo'}} in test()
152 template<typename T> void foo(T);
157 using Base::foo;
162 d.foo<int>(3); in test()