Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:int

4   X(int); 
12 void operator()(int x = 17) const;
13 int operator[](int);
15 static int operator+(Y, Y); // expected-error{{overloaded 'operator+' cannot be a static member function}}
23 X operator+(int, float); // expected-error{{overloaded 'operator+' must have at least one parameter of class or enumeration type}}
31 void operator()(Y&, int, int); // expected-error{{overloaded 'operator()' must be a non-static member function}}
33 typedef int INT;
36 Y operator++(Y&, INT);
37 X operator++(X&, FLOAT); // expected-error{{parameter of overloaded post-increment operator must have type 'int' (not 'FLOAT' (aka 'float'))}}
39 int operator+; // expected-error{{'operator+' cannot be the name of a variable or data member}}
48 operator int; // expected-error{{'operator int' cannot be the name of a variable or data member}}
49 int operator+; // expected-error{{'operator+' cannot be the name of a variable or data member}}
54 static void operator()(int& i) { ++i; } // expected-error{{overloaded 'operator()' cannot be a static member function}}
57 int i = 0;