Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:const

5   operator int() const;
27 void operator bool(int, ...) const; // expected-error{{conversion function cannot have a return type}} \
30 operator float(...) const; // expected-error{{conversion function cannot be variadic}}
54 operator A&() const; // expected-warning{{conversion function converting 'B' to its base class 'A' will never be used}}
55 operator const void() const; // expected-warning{{conversion function converting 'B' to 'const void' will never be used}}
56 operator const B(); // expected-warning{{conversion function converting 'B' to itself will never be used}}
63 Flop(const Flip&); // expected-note{{candidate constructor}}
66 operator Flop() const; // expected-note{{candidate function}}
72 operator const char *() const;
75 C::operator const char*() const { return 0; }
77 void f(const C& c) {
78 const char* v = c;
124 A1(const char *);
128 A1(const A1&); // expected-note 2 {{declared private here}}
150 operator A<T, typename sneaky_int<T>::type>&() const; // expected-note{{candidate function}}
156 const A<float, int> &caf2 = E();
164 () const;
212 Other(const Other &);
265 operator const char*() const { return reinterpret_cast<const char*>(ptr); }
268 void fake_memcpy(const void *);
279 operator const struct X *() const;
377 const T& operator[](int)const;
402 operator A() const;
406 A f(const C c) { return c; }