Lines Matching full:function
101 this->x; // expected-error {{invalid use of 'this' outside of a non-static member function}}
102 x; // expected-error {{invalid use of member 'x' in static member function}}
103 A::x; // expected-error {{invalid use of member 'x' in static member function}}
104 +x; // expected-error {{invalid use of member 'x' in static member function}}
105 +A::x; // expected-error {{invalid use of member 'x' in static member function}}
106 &x; // expected-error {{invalid use of member 'x' in static member function}}
108 this->y; // expected-error {{invalid use of 'this' outside of a non-static member function}}
117 g(); // expected-error {{call to non-static member function without an object argument}}
118 g<void>(); // expected-error {{call to non-static member function without an object argument}}
119 i(); // expected-error {{call to non-static member function without an object argument}}
121 &i; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
149 &i; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
156 auto h<int>() -> decltype(this); // expected-error {{'this' cannot be used in a static member function declaration}}
236 &f0; // expected-error {{must explicitly qualify name of member function when taking its address}}
237 &f1; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
238 &f2; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
311 ++x0; // expected-error {{invalid use of member 'x0' in static member function}}
312 ++x1; // expected-error {{invalid use of member 'x1' in static member function}}
313 ++x2; // expected-error {{invalid use of member 'x2' in static member function}}
319 &x0; // expected-error {{invalid use of member 'x0' in static member function}}
320 &x1; // expected-error {{invalid use of member 'x1' in static member function}}
321 &x2; // expected-error {{invalid use of member 'x2' in static member function}}
326 &f0; // expected-error {{must explicitly qualify name of member function when taking its address}}
327 &f1; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
328 &f2; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
346 f0(0); // expected-error {{call to non-static member function without an object argument}}
347 f0(z); // expected-error {{call to non-static member function without an object argument}}
348 f0(x0); // expected-error {{call to non-static member function without an object argument}}
349 f0(x1); // expected-error {{call to non-static member function without an object argument}}
350 f0(x2); // expected-error {{call to non-static member function without an object argument}}
351 f0(y0); // expected-error {{call to non-static member function without an object argument}}
352 f0(y1); // expected-error {{call to non-static member function without an object argument}}
353 f0(y2); // expected-error {{call to non-static member function without an object argument}}
356 g0(x0); // expected-error {{invalid use of member 'x0' in static member function}}
357 g0(x1); // expected-error {{invalid use of member 'x1' in static member function}}
358 g0(x2); // expected-error {{invalid use of member 'x2' in static member function}}
363 f1(0); // expected-error {{call to non-static member function without an object argument}}
364 f1(z); // expected-error {{call to non-static member function without an object argument}}
365 f1(x0); // expected-error {{call to non-static member function without an object argument}}
366 f1(x1); // expected-error {{call to non-static member function without an object argument}}
367 f1(x2); // expected-error {{call to non-static member function without an object argument}}
368 f1(y0); // expected-error {{call to non-static member function without an object argument}}
369 f1(y1); // expected-error {{call to non-static member function without an object argument}}
370 f1(y2); // expected-error {{call to non-static member function without an object argument}}
373 g1(x0); // expected-error {{invalid use of member 'x0' in static member function}}
374 g1(x1); // expected-error {{invalid use of member 'x1' in static member function}}
375 g1(x2); // expected-error {{invalid use of member 'x2' in static member function}}
380 f2(0); // expected-error {{call to non-static member function without an object argument}}
381 f2(z); // expected-error {{call to non-static member function without an object argument}}
382 f2(x0); // expected-error {{call to non-static member function without an object argument}}
383 f2(x1); // expected-error {{call to non-static member function without an object argument}}
384 f2(x2); // expected-error {{call to non-static member function without an object argument}}
385 f2(y0); // expected-error {{call to non-static member function without an object argument}}
386 f2(y1); // expected-error {{call to non-static member function without an object argument}}
387 f2(y2); // expected-error {{call to non-static member function without an object argument}}
390 g2(x0); // expected-error {{invalid use of member 'x0' in static member function}}
391 g2(x1); // expected-error {{invalid use of member 'x1' in static member function}}
392 g2(x2); // expected-error {{invalid use of member 'x2' in static member function}}
439 &f0; // expected-error {{must explicitly qualify name of member function when taking its address}}
440 &f1; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
509 ++x0; // expected-error {{invalid use of member 'x0' in static member function}}
510 ++x1; // expected-error {{invalid use of member 'x1' in static member function}}
515 &x0; // expected-error {{invalid use of member 'x0' in static member function}}
516 &x1; // expected-error {{invalid use of member 'x1' in static member function}}
520 &f0; // expected-error {{must explicitly qualify name of member function when taking its address}}
521 &f1; // expected-error 2{{must explicitly qualify name of member function when taking its address}}
534 f0(0); // expected-error {{call to non-static member function without an object argument}}
535 f0(z); // expected-error {{call to non-static member function without an object argument}}
536 f0(x0); // expected-error {{call to non-static member function without an object argument}}
537 f0(x1); // expected-error {{call to non-static member function without an object argument}}
538 f0(y0); // expected-error {{call to non-static member function without an object argument}}
539 f0(y1); // expected-error {{call to non-static member function without an object argument}}
542 g0(x0); // expected-error {{invalid use of member 'x0' in static member function}}
543 g0(x1); // expected-error {{invalid use of member 'x1' in static member function}}
547 f1(0); // expected-error {{call to non-static member function without an object argument}}
548 f1(z); // expected-error {{call to non-static member function without an object argument}}
549 f1(x0); // expected-error {{call to non-static member function without an object argument}}
550 f1(x1); // expected-error {{call to non-static member function without an object argument}}
551 f1(y0); // expected-error {{call to non-static member function without an object argument}}
552 f1(y1); // expected-error {{call to non-static member function without an object argument}}
555 g1(x0); // expected-error {{invalid use of member 'x0' in static member function}}
556 g1(x1); // expected-error {{invalid use of member 'x1' in static member function}}
560 T::f0(0); // expected-error {{call to non-static member function without an object argument}}
561 T::f0(z); // expected-error {{call to non-static member function without an object argument}}
562 T::f0(x0); // expected-error {{call to non-static member function without an object argument}}
563 T::f0(x1); // expected-error {{call to non-static member function without an object argument}}
564 T::f0(y0); // expected-error {{call to non-static member function without an object argument}}
565 T::f0(y1); // expected-error {{call to non-static member function without an object argument}}
568 T::g0(x0); // expected-error {{invalid use of member 'x0' in static member function}}
569 T::g0(x1); // expected-error {{invalid use of member 'x1' in static member function}}
573 E::f1(0); // expected-error {{call to non-static member function without an object argument}}
574 E::f1(z); // expected-error {{call to non-static member function without an object argument}}
575 E::f1(x0); // expected-error {{call to non-static member function without an object argument}}
576 E::f1(x1); // expected-error {{call to non-static member function without an object argument}}
577 E::f1(y0); // expected-error {{call to non-static member function without an object argument}}
578 E::f1(y1); // expected-error {{call to non-static member function without an object argument}}
581 E::g1(x0); // expected-error {{invalid use of member 'x0' in static member function}}
582 E::g1(x1); // expected-error {{invalid use of member 'x1' in static member function}}