Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:operator

9 constexpr LitKind operator"" _kind(char p) { return LitKind::Char; }
10 constexpr LitKind operator"" _kind(wchar_t p) { return LitKind::WideChar; }
11 constexpr LitKind operator"" _kind(char16_t p) { return LitKind::Char16; }
12 constexpr LitKind operator"" _kind(char32_t p) { return LitKind::Char32; }
13 constexpr LitKind operator"" _kind(const char *p, size_t n) { return LitKind::CharStr; }
14 constexpr LitKind operator"" _kind(const wchar_t *p, size_t n) { return LitKind::WideStr; }
15 constexpr LitKind operator"" _kind(const char16_t *p, size_t n) { return LitKind::Char16Str; }
16 constexpr LitKind operator"" _kind(const char32_t *p, size_t n) { return LitKind::Char32Str; }
17 constexpr LitKind operator"" _kind(unsigned long long n) { return LitKind::Integer; }
18 constexpr LitKind operator"" _kind(long double n) { return LitKind::Floating; }
19 constexpr LitKind operator"" _kind2(const char *p) { return LitKind::Raw; }
20 template<char ...Cs> constexpr LitKind operator"" _kind3() { return LitKind::Template; }
44 constexpr const char *operator"" _fractional_digits(const char *p) {
59 int operator"" _ambiguous(char); // expected-note {{candidate}}
61 void *operator"" _ambiguous(char); // expected-note {{candidate}}
66 int operator"" _deleted(unsigned long long) = delete; // expected-note {{here}}
71 int operator"" _using(char);
73 int k1 = 'x'_using; // expected-error {{no matching literal operator for call to 'operator "" _using'}}
75 using M::operator "" _using;
80 int operator"" _ambig1(const char *); // expected-note {{candidate}}
81 template<char...> int operator"" _ambig1(); // expected-note {{candidate}}
83 int k1 = 123_ambig1; // expected-error {{call to 'operator "" _ambig1' is ambiguous}}
86 template<char...> int operator"" _ambig2(); // expected-note 3{{candidate}}
88 int operator"" _ambig2(const char *); // expected-note 3{{candidate}}
89 using Inner::operator"" _ambig2;
91 int k2 = 123_ambig2; // expected-error {{call to 'operator "" _ambig2' is ambiguous}}
94 using Inner::operator"" _ambig2;
98 using AmbiguousRawTemplate::operator"" _ambig2;
104 template<char...> int operator"" _ambig2();
109 int operator"" _ambig2(unsigned long long);
124 template<char...Cs> constexpr unsigned operator"" _hash() {
132 template<char...> int operator"" _x();
136 int k2 = 123_y; // expected-error {{no matching literal operator for call to 'operator "" _y'}}
141 int operator"" _b(); // expected-error {{no function template matches function template specialization}}
142 int main() { return 0_b; } // expected-error {{no matching literal operator for call to 'operator "" _b'}}