Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:decltype

46 using T = decltype(a());
49 using T = decltype(a());
89 using Void = decltype(void_ret());
123 typedef decltype(f2(1.2)) dbl; // expected-note {{previous}}
124 typedef float dbl; // expected-error {{typedef redefinition with different types ('float' vs 'decltype(f2(1.2))' (aka 'double &'))}}
276 using size_t = decltype(sizeof(0));
333 decltype(auto) f(); // expected-error {{cannot be overloaded}}
425 using T = decltype(f(A<int>()));
426 using T = decltype(f<int>(A<int>()));
457 auto foo(T x) -> decltype(x) {
502 using T = decltype(x);
507 for (decltype(auto) forinit_decltypeauto_inner();;) {} // expected-warning {{interpreted as a function}} expected-note {{replace}}