Lines Matching full:since
2 // RUN: %clang_cc1 -std=c++11 -pedantic-errors %s -verify=expected,since-cxx11,cxx11
3 // RUN: %clang_cc1 -std=c++14 -pedantic-errors %s -verify=expected,since-cxx11
4 // RUN: %clang_cc1 -std=c++17 -pedantic-errors %s -verify=expected,since-cxx11
5 // RUN: %clang_cc1 -std=c++20 -pedantic-errors %s -verify=expected,since-cxx11,since-cxx20
6 // RUN: %clang_cc1 -std=c++23 -pedantic-errors %s -verify=expected,since-cxx11,since-cxx20,since-cxx23
7 // RUN: %clang_cc1 -std=c++2c -pedantic-errors %s -verify=expected,since-cxx11,since-cxx20,since-cxx23
93 // since-cxx11-error@-1 {{non-constant-expression cannot be narrowed from type 'long long' to 'std::int32_t' (aka 'int') in initializer list}}
94 // since-cxx11-note@-2 {{insert an explicit cast to silence this issue}}
99 // since-cxx11-error@-1 {{non-constant-expression cannot be narrowed from type 'unsigned int' to 'std::int16_t' (aka 'short') in initializer list}}
100 // since-cxx11-note@-2 {{insert an explicit cast to silence this issue}}
103 // since-cxx11-error@-1 {{non-constant-expression cannot be narrowed from type 'int' to 'std::uint16_t' (aka 'unsigned short') in initializer list}}
104 // since-cxx11-note@-2 {{insert an explicit cast to silence this issue}}
108 // since-cxx11-error@-1 {{non-constant-expression cannot be narrowed from type 'int' to 'bool' in initializer list}}
109 // since-cxx11-note@-2 {{insert an explicit cast to silence this issue}}
129 // since-cxx11-error@-1 {{non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list}}
130 // since-cxx11-note@-2 {{insert an explicit cast to silence this issue}}
145 // since-cxx20-error@#cwg2628-fooable {{call to deleted}}
146 // since-cxx20-note@#cwg2628-ctor {{marked deleted here}}
186 // since-cxx20-error@-1 {{decomposition declaration cannot be declared with constrained 'auto'}}
188 // since-cxx20-error@-1 {{decomposition declaration cannot be declared with constrained 'auto'}}
194 // since-cxx20-error@-1 {{decomposition declaration cannot be declared with constrained 'auto'}}
196 // since-cxx20-error@-1 {{decomposition declaration cannot be declared with constrained 'auto'}}
232 // since-cxx11-error@-2 {{a lambda parameter cannot shadow an explicitly captured entity}}
233 // since-cxx11-note@-3 {{variable 'a' is explicitly captured here}}
247 // since-cxx23-error@-1 {{no matching function for call to 'f'}}
248 // since-cxx23-note@#cwg2650-f {{type 'X' of non-type template parameter is not a structural type}}
255 // since-cxx23-error@-1 {{the explicit object parameter cannot have a default argument}}
257 // since-cxx23-error@-1 {{the explicit object parameter cannot have a default argument}}
294 // since-cxx20-error@-1 {{no viable constructor or deduction guide}}
295 // since-cxx20-note@#cwg2681-J {{candidate template ignored: could not match 'J<N>' against 'const char *'}}
296 // since-cxx20-note@#cwg2681-J {{implicit deduction guide declared as 'template <size_t N> J(J<N>) -> J<N>'}}
297 // since-cxx20-note@#cwg2681-J {{candidate template ignored: could not match 'const unsigned char' against 'const char'}}
298 // since-cxx20-note@#cwg2681-J {{implicit deduction guide declared as 'template <size_t N> J(const unsigned char (&)[N]) -> J<N>'}}
299 // since-cxx20-note@#cwg2681-J {{candidate function template not viable: requires 0 arguments, but 1 was provided}}
300 // since-cxx20-note@#cwg2681-J {{implicit deduction guide declared as 'template <size_t N> J() -> J<N>'}}
308 // since-cxx20-error@-1 {{type 'int' cannot be used prior to '::' because it has no members}}
309 // since-cxx20-note@-2 {{while substituting into a lambda expression here}}
310 // since-cxx20-note@-3 {{in instantiation of requirement here}}
311 // since-cxx20-note@-4 {{while substituting template arguments into constraint expression here}}
312 // since-cxx20-note@#cwg2672-f-0 {{while checking constraint satisfaction for template 'f<int>' required here}}
313 // since-cxx20-note@#cwg2672-f-0 {{in instantiation of function template specialization 'cwg2672::f<int>' requested here}}
339 // since-cxx23-error@-1 {{called object type 'void (cwg2687::S::*)(int)' is not a function or function pointer}}
358 // since-cxx23-error@-1 {{call to 'f' is ambiguous}}
359 // since-cxx23-note@#cwg2692-1 {{candidate function}}
360 // since-cxx23-note@#cwg2692-2 {{candidate function}}
362 // since-cxx23-error@-1 {{no matching function for call to 'f'}}
363 // since-cxx23-note@#cwg2692-1 {{candidate function not viable: requires 1 argument, but 0 were provided}}
364 // since-cxx23-note@#cwg2692-2 {{candidate function not viable: requires 1 argument, but 0 were provided}}