Lines Matching full:since

2 // RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,cxx98-14,since-cxx11,cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
3 // RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx14,cxx98-14,since-cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
4 // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx14,since-cxx17,since-cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
5 // RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx14,since-cxx20,since-cxx17,since-cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
6 // RUN: %clang_cc1 -std=c++23 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx23,since-cxx14,since-cxx20,since-cxx17,since-cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
7 // RUN: %clang_cc1 -std=c++2c -triple x86_64-unknown-unknown %s -verify=expected,since-cxx23,since-cxx14,since-cxx20,since-cxx17,since-cxx11 -fexceptions -fcxx-exceptions -pedantic-errors
68 // since-cxx11-warning@-1 {{braces around scalar initializer}}
78 // since-cxx11-error@-1 {{call to 'f' is ambiguous}}
79 // since-cxx11-note@#cwg1631-f {{candidate function}}
80 // since-cxx11-note@#cwg1631-f-int {{candidate function}}
102 // since-cxx11-error@-1 {{enumeration redeclared with different underlying type 'int' (was 'short')}}
103 // since-cxx11-note@#cwg1638-F {{previous declaration is here}}
105 // since-cxx11-error@-1 {{enumeration redeclared with different underlying type 'char' (was 'int')}}
106 // since-cxx11-note@#cwg1638-E {{previous declaration is here}}
108 // since-cxx11-error@-1 {{enumeration redeclared with different underlying type 'int' (was 'char')}}
109 // since-cxx11-note@#cwg1638-F {{previous declaration is here}}
112 // since-cxx11-error@-1 {{template specialization requires 'template<>'}}
114 // since-cxx11-error@-1 {{enumerations cannot be explicitly instantiated}}
116 // since-cxx11-error@-1 {{reference to enumeration must use 'enum' not 'enum class'}}
120 // since-cxx11-error@-1 {{reference to enumeration must use 'enum' not 'enum class'}}
121 // since-cxx11-error@-2 {{elaborated enum specifier cannot be declared as a friend}}
122 // since-cxx11-note@-3 {{remove 'enum class' to befriend an enum}}
140 // since-cxx11-error@-1 {{call to constructor of 'const B' is ambiguous}}
141 // since-cxx11-note@#cwg1645-int-float {{candidate inherited constructor}}
142 // since-cxx11-note@#cwg1645-using {{constructor from base class 'A' inherited here}}
143 // since-cxx11-note@#cwg1645-int-int {{candidate inherited constructor}}
144 // since-cxx11-note@#cwg1645-using {{constructor from base class 'A' inherited here}}
146 // since-cxx11-error@-1 {{call to constructor of 'const B' is ambiguous}}
147 // since-cxx11-note@#cwg1645-int-int {{candidate inherited constructor}}
148 // since-cxx11-note@#cwg1645-using {{constructor from base class 'A' inherited here}}
149 // since-cxx11-note@#cwg1645-int-int-int {{candidate inherited constructor has been explicitly deleted}}
150 // since-cxx11-note@#cwg1645-using {{constructor from base class 'A' inherited here}}
165 // since-cxx17-error@-2 {{SO C++17 does not allow incrementing expression of type bool}}
168 // since-cxx17-error@-2 {{SO C++17 does not allow incrementing expression of type bool}}
198 // since-cxx11-error@#cwg1658-E1-ctor {{defaulting this default constructor would delete it after its first declaration}}
199 // since-cxx11-note@#cwg1658-E1 {{default constructor of 'E' is implicitly deleted because base class 'A' has an inaccessible default constructor}}
206 // since-cxx11-error@#cwg1658-F1-ctor {{defaulting this default constructor would delete it after its first declaration}}
207 // since-cxx11-note@#cwg1658-F1 {{default constructor of 'F' is implicitly deleted because base class 'A' has an inaccessible default constructor}}
215 // since-cxx11-error@#cwg1658-G1-ctor {{defaulting this default constructor would delete it after its first declaration}}
216 // since-cxx11-note@#cwg1658-G1 {{default constructor of 'G' is implicitly deleted because base class 'B' has an inaccessible destructor}}
223 // since-cxx11-error@#cwg1658-H1-ctor {{defaulting this default constructor would delete it after its first declaration}}
224 // since-cxx11-note@#cwg1658-H1 {{default constructor of 'H' is implicitly deleted because base class 'B' has an inaccessible destructor}}
240 // since-cxx11-error@#cwg1658-G2-dtor {{defaulting this destructor would delete it after its first declaration}}
241 // since-cxx11-note@#cwg1658-G2 {{destructor of 'G' is implicitly deleted because base class 'B' has an inaccessible destructor}}
248 // since-cxx11-error@#cwg1658-H2-dtor {{defaulting this destructor would delete it after its first declaration}}
249 // since-cxx11-note@#cwg1658-H2 {{destructor of 'H' is implicitly deleted because base class 'B' has an inaccessible destructor}}
269 struct D : A { virtual void f() = 0; }; // since-cxx23-note {{previous declaration is here}}
274 friend D::D(D&); // since-cxx23-error {{non-constexpr declaration of 'D' follows constexpr declaration}}
297 // since-cxx11-error@#cwg1658-E5-copy-ctor {{defaulting this copy constructor would delete it after its first declaration}}
298 // since-cxx11-note@#cwg1658-E5 {{copy constructor of 'E' is implicitly deleted because base class 'A' has an inaccessible copy constructor}}
305 // since-cxx11-error@#cwg1658-E5-move-ctor {{defaulting this move constructor would delete it after its first declaration}}
306 // since-cxx11-note@#cwg1658-E5 {{move constructor of 'E' is implicitly deleted because base class 'A' has an inaccessible move constructor}}
314 // since-cxx11-error@#cwg1658-F5-copy-ctor {{defaulting this copy constructor would delete it after its first declaration}}
315 // since-cxx11-note@#cwg1658-F5 {{copy constructor of 'F' is implicitly deleted because base class 'A' has an inaccessible copy constructor}}
322 // since-cxx11-error@#cwg1658-F5-move-ctor {{defaulting this move constructor would delete it after its first declaration}}
323 // since-cxx11-note@#cwg1658-F5 {{move constructor of 'F' is implicitly deleted because base class 'A' has an inaccessible move constructor}}
376 // since-cxx20-note@#cwg1687-op-T {{second operand was implicitly converted to type 'cwg1687::E2'}}
386 // since-cxx20-error@-1 {{invalid operands to binary expression ('To<E1>' and 'To<E2>')}}
387 // since-cxx20-note@#cwg1687-op-T {{operand was implicitly converted to type 'cwg1687::E}}
420 // since-cxx11-error@-1 {{use of undeclared identifier 'g'; did you mean 'N::g'?}}
421 // since-cxx11-note@#cwg1691-g {{'N::g' declared here}}
448 // since-cxx14-error@-1 {{default member initializer for 'y' needed within definition of enclosing class 'A' outside of member functions}}
449 // since-cxx14-note@-2 {{default member initializer declared here}}
455 // since-cxx14-error@-1 {{reference member 'v' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
456 // since-cxx14-note@#cwg1696-A1 {{reference member declared here}}
462 // since-cxx14-error@-1 {{reference member 'v' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
463 // since-cxx14-note-re@#cwg1696-A2-b {{in defaulted default constructor for {{.*}} first required here}}
464 // since-cxx14-note@#cwg1696-A2-a {{initializing field 'v' with default member initializer}}
466 // since-cxx14-warning@-1 {{binding reference member 'v' to stack allocated parameter 'v'}}
467 // since-cxx14-note@#cwg1696-A2-a {{reference member declared here}}
481 // since-cxx11-error@-1 {{reference member 'a' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
482 // since-cxx11-note@#cwg1696-a {{reference member declared here}}
511 // since-cxx11-error@-1 {{reference member 'a' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
512 // since-cxx11-note@#cwg1696-D2-a {{initializing field 'a' with default member initializer}}
516 // since-cxx11-error@-1 {{reference member 'a' binds to a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
517 // since-cxx11-note@#cwg1696-d3 {{in implicit default constructor for 'cwg1696::D3' first required here}}
518 // since-cxx11-note@#cwg1696-D3-a {{initializing field 'a' with default member initializer}}
526 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
527 // since-cxx11-note@#cwg1696-il-1 {{'std::initializer_list' member declared here}}
535 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
536 // since-cxx11-note@#cwg1696-il-2 {{'std::initializer_list' member declared here}}
543 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
544 // since-cxx11-note@#cwg1696-hl4 {{in implicit default constructor for 'cwg1696::haslist4' first required here}}
545 // since-cxx11-note@#cwg1696-il-4 {{initializing field 'il' with default member initializer}}
553 // since-cxx11-error@-1 {{backing array for 'std::initializer_list' member 'il' is a temporary object whose lifetime would be shorter than the lifetime of the constructed object}}
554 // since-cxx11-note@#cwg1696-il-5 {{nitializing field 'il' with default member initializer}}