Lines Matching full:since
2 // RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx11,cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
3 // RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx11,since-cxx14 -fexceptions -fcxx-exceptions -pedantic-errors
4 // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx11,since-cxx14 -fexceptions -fcxx-exceptions -pedantic-errors
5 // RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx11,since-cxx14,since-cxx20 -fexceptions -fcxx-exceptions -pedantic-errors
6 // RUN: %clang_cc1 -std=c++23 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx11,since-cxx14,since-cxx20 -fexceptions -fcxx-exceptions -pedantic-errors
7 // RUN: %clang_cc1 -std=c++2c -triple x86_64-unknown-unknown %s -verify=expected,since-cxx11,since-cxx14,since-cxx20 -fexceptions -fcxx-exceptions -pedantic-errors
21 // since-cxx11-error@-2 {{type 'B<A<void>>' does not provide a subscript operator}}
24 // since-cxx11-error@-2 {{no member named 'foo' in 'cwg2007::B<cwg2007::A<void>>'}}
38 // since-cxx11-error@#cwg2026-xa {{non-type template argument is not a constant expression}}
39 // since-cxx11-note@#cwg2026-xa {{initializer of 'a' is not a constant expression}}
40 // since-cxx11-note@#cwg2026-a {{declared here}}
44 // since-cxx11-error@-1 {{constexpr variable 'b' must be initialized by a constant expression}}
45 // since-cxx11-note@-2 {{read of object outside its lifetime is not allowed in a constant expression}}
47 // since-cxx11-error@-1 {{variable does not have a constant initializer}}
48 // since-cxx11-note@-2 {{required by 'require_constant_initialization' attribute here}}
51 // since-cxx14-note@-5 {{read of object outside its lifetime is not allowed in a constant expression}}
56 // since-cxx20-error@-1 {{variable does not have a constant initializer}}
57 // since-cxx20-note@-2 {{required by 'constinit' specifier here}}
58 // since-cxx20-note@-3 {{read of object outside its lifetime is not allowed in a constant expression}}
68 // since-cxx11-error@#cwg2026-xe {{non-type template argument is not a constant expression}}
69 // since-cxx11-note@#cwg2026-xe {{initializer of 'e' is not a constant expression}}
70 // since-cxx11-note@#cwg2026-e {{declared here}}
74 // since-cxx11-error@-1 {{constexpr variable 'f' must be initialized by a constant expression}}
75 // since-cxx11-note@-2 {{read of object outside its lifetime is not allowed in a constant expression}}
77 // since-cxx11-error@-1 {{variable does not have a constant initializer}}
78 // since-cxx11-note@-2 {{required by 'require_constant_initialization' attribute here}}
81 // since-cxx14-note@-5 {{read of object outside its lifetime is not allowed in a constant expression}}
86 // since-cxx20-error@-1 {{variable does not have a constant initializer}}
87 // since-cxx20-note@-2 {{required by 'constinit' specifier here}}
88 // since-cxx20-note@-3 {{read of object outside its lifetime is not allowed in a constant expression}}
163 // since-cxx11-error@-1 {{no matching function}}
164 // since-cxx11-note@#cwg2076-foo {{cannot convert initializer list}}
168 // since-cxx11-error@-1 {{no matching function}}
169 // since-cxx11-note@#cwg2076-bar {{cannot convert initializer list}}
171 // since-cxx11-error@-1 {{no matching function}}
172 // since-cxx11-note@#cwg2076-bar {{cannot convert initializer list}}
257 // since-cxx11-error@-1 {{reference to local variable 'm1' declared in enclosing function 'cwg2083::mutable_subobjects'}}
258 // since-cxx11-note@#cwg2083-m1 {{'m1' declared here}}
260 // since-cxx11-error@-1 {{reference to local variable 'm2' declared in enclosing function 'cwg2083::mutable_subobjects'}}
261 // since-cxx11-note@#cwg2083-m2 {{'m2' declared here}}
263 // since-cxx11-error@-1 {{reference to local variable 'm3' declared in enclosing function 'cwg2083::mutable_subobjects'}}
264 // since-cxx11-note@#cwg2083-m3 {{'m3' declared here}}
303 // since-cxx11-error@-1 {{reference to local variable 'a' declared in enclosing function 'cwg2083::volatile_lval'}}
304 // since-cxx11-note@#cwg2083-a2 {{'a' declared here}}