Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:operator

4 X operator+(X, X);
21 Y operator+(Y, Y);
22 bool operator-(Y, Y); // expected-note{{candidate function}}
23 bool operator-(Z, Z); // expected-note{{candidate function}}
27 bool b = y - z; // expected-error{{use of overloaded operator '-' is ambiguous}}
31 bool operator==(Z&); // expected-note 2{{candidate function}}
36 bool operator==(A&, Z&); // expected-note 3{{candidate function}}
40 a == z; // expected-error{{use of overloaded operator '==' is ambiguous}}
45 bool operator==(const B&) const;
71 float& operator==(E1, E2); // expected-note{{candidate function}}
88 bool operator==(const pr5244_foo& s1, const pr5244_foo& s2); // expected-note{{candidate function}}
89 bool operator==(char c, const pr5244_foo& s); // expected-note{{candidate function}}
111 PostInc operator++(int);
112 PostInc& operator++();
116 PostDec operator--(int);
117 PostDec& operator--();
128 int& operator*();
129 long& operator*() const volatile;
141 int& operator[](int);
149 int* operator&();
156 bool& operator,(X, Y);
164 int& operator()(int, double = 2.71828); // expected-note{{candidate function}}
165 float& operator()(int, double, long, ...); // expected-note{{candidate function}}
167 double& operator()(float); // expected-note{{candidate function}}
171 int& operator()(int i = 0);
172 double& operator()(...) const;
201 operator Func1*(); // expected-note 2{{conversion candidate of type 'INTREF (*)(FLOAT, double)'}}
202 operator Func2&(); // expected-note 2{{conversion candidate of type 'float &(&)(int, double)'}}
203 void operator()();
225 HasMember* operator->();
229 Arrow1 operator->(); // expected-note{{candidate function}}
235 a3->m; // expected-error{{no viable overloaded 'operator->'}}
254 N::X operator+(N::X, N::X);
263 struct AA { bool operator!=(AA&); };
269 AX& operator ->(); // expected-note {{declared here}}
279 struct CircB& operator->(); // expected-note {{declared here}}
283 struct CircC& operator->(); // expected-note {{declared here}}
286 struct CircA& operator->(); // expected-note {{declared here}}
318 operator short();
319 operator float();
330 void operator +=(int&, S);
336 struct A {operator int();};
348 x[0] = 0; // expected-error {{does not provide a subscript operator}}
352 int operator[](unsigned); // expected-note {{candidate}}
356 return x[0]; // expected-error {{no viable overloaded operator[] for type}}
363 x(); // expected-error {{does not provide a call operator}}
367 // Operator lookup through using declarations.
376 N::X2 &operator<<(N::X2&, const T&);
378 using Inner::operator<<;
395 Y &operator<<(int);
406 inline bool operator==(StringRef LHS, StringRef RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}}
414 struct A { A& operator=(void (*x)()); };
422 void operator[](float (*fn)(int)); // expected-note 2 {{not viable: no overload of 'bar' matching 'float (*)(int)'}}
435 a[&bar<int>]; // expected-error {{no viable overloaded operator[]}}
436 a[bar<int>]; // expected-error {{no viable overloaded operator[]}}
439 // resolution for operator| resolve the overload of 'bar'.
446 InvalidOperatorEquals operator=() = delete; // expected-error {{overloaded 'operator=' must be a binary operator}}