Lines Matching full:since
2 // RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx11,cxx11-14 -fexceptions -fcxx-exceptions -pedantic-errors
3 // RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx11,cxx11-14,cxx14-17 -fexceptions -fcxx-exceptions -pedantic-errors
4 // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx11,since-cxx17 -fexceptions -fcxx-exceptions -pedantic-errors
5 // RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-20,since-cxx20,since-cxx11,since-cxx17 -fexceptions -fcxx-exceptions -pedantic-errors
6 // RUN: %clang_cc1 -std=c++23 -triple x86_64-unknown-unknown %s -verify=expected,since-cxx23,since-cxx20,since-cxx11,since-cxx17 -fexceptions -fcxx-exceptions -pedantic-errors
7 // RUN: %clang_cc1 -std=c++2c -triple x86_64-unknown-unknown %s -verify=expected,since-cxx23,since-cxx20,since-cxx11,since-cxx17 -fexceptions -fcxx-exceptions -pedantic-errors
20 // since-cxx11-error@-1 {{invalid operands to binary expression ('char *' and 'std::nullptr_t')}}
42 // since-cxx17-warning@#cwg1512-lt {{ordered comparison of function pointers ('int (*)() noexcept' and 'int (*)()')}}
43 // since-cxx17-note@#cwg1512-noexcept-1st {{in instantiation of function template specialization 'cwg1512::composite_pointer_type_is_ord<int (*)() noexcept, int (*)(), int (*)()>' requested here}}
44 // since-cxx17-warning@#cwg1512-lt {{ordered comparison of function pointers ('int (*)()' and 'int (*)() noexcept')}}
45 // since-cxx17-note@#cwg1512-noexcept-2nd {{in instantiation of function template specialization 'cwg1512::composite_pointer_type_is_ord<int (*)(), int (*)() noexcept, int (*)()>' requested here}}
47 // since-cxx17-warning@-1 {{ordered comparison of function pointers ('int (*)() noexcept' and 'int (*)()')}}
48 // since-cxx17-warning@-2 {{ordered comparison of function pointers ('int (*)()' and 'int (*)() noexcept')}}
50 // since-cxx17-warning@-1 {{ordered comparison of function pointers ('int (*)() noexcept' and 'int (*)()')}}
51 // since-cxx17-warning@-2 {{ordered comparison of function pointers ('int (*)()' and 'int (*)() noexcept')}}
53 // since-cxx17-warning@-1 {{ordered comparison of function pointers ('int (*)() noexcept' and 'int (*)()')}}
54 // since-cxx17-warning@-2 {{ordered comparison of function pointers ('int (*)()' and 'int (*)() noexcept')}}
100 // since-cxx20-warning@-1 {{volatile-qualified return type 'volatile int' is deprecated}}
143 // since-cxx11-error@-1 {{invalid operands to binary expression ('Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>') and 'Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>'))}}
145 // since-cxx11-error@-1 {{invalid operands to binary expression ('Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>') and 'Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>'))}}
147 // since-cxx11-error@-1 {{invalid operands to binary expression ('Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>') and 'Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>'))}}
149 // since-cxx11-error@-1 {{invalid operands to binary expression ('Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>') and 'Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>'))}}
156 // since-cxx11-error@-1 {{invalid operands to binary expression ('Wrap<nullptr_t>' (aka 'Wrap<std::nullptr_t>') and 'Wrap<int *>')}}
157 // since-cxx11-note@#cwg1512-Wrap {{first operand was implicitly converted to type 'std::nullptr_t'}}
158 // since-cxx11-note@#cwg1512-Wrap {{second operand was implicitly converted to type 'int *'}}
160 // since-cxx11-error@-1 {{invalid operands}}
161 // since-cxx11-note@#cwg1512-Wrap {{first operand was implicitly converted to type 'std::nullptr_t'}}
162 // since-cxx11-note@#cwg1512-Wrap{{second operand was implicitly converted to type 'int *'}}
164 // since-cxx11-error@-1 {{invalid operands}}
165 // since-cxx11-note@#cwg1512-Wrap {{first operand was implicitly converted to type 'std::nullptr_t'}}
166 // since-cxx11-note@#cwg1512-Wrap {{second operand was implicitly converted to type 'int *'}}
168 // since-cxx11-error@-1 {{invalid operands}}
169 // since-cxx11-note@#cwg1512-Wrap {{first operand was implicitly converted to type 'std::nullptr_t'}}
170 // since-cxx11-note@#cwg1512-Wrap {{second operand was implicitly converted to type 'int *'}}
180 // since-cxx11-error@-1 {{redefinition of 'E'}}
181 // since-cxx11-note@#cwg1514-E {{previous definition is here}}
203 // since-cxx11-error@-1 {{chosen constructor is explicit in copy-initialization}}
204 // since-cxx11-note@#cwg1518-Z0-ctor {{explicit constructor declared here}}
206 // since-cxx11-error@-1 {{no matching function for call to 'Eat'}}
207 // since-cxx11-note@#cwg1518-Eat {{candidate function template not viable: cannot convert initializer list argument to 'Z0'}}
210 // since-cxx11-error@-1 {{chosen constructor is explicit in copy-initialization}}
211 // since-cxx11-note@#cwg1518-Z-ctor {{explicit constructor declared here}}
213 // since-cxx11-error@-1 {{no matching function for call to 'Eat'}}
214 // since-cxx11-note@#cwg1518-Eat {{candidate function template not viable: cannot convert initializer list argument to 'Z'}}
216 // since-cxx11-error@-1 {{no viable conversion from 'int' to 'Z'}}
217 // since-cxx11-note@#cwg1518-Z {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const Z &' for 1st argument}}
218 // since-cxx11-note@#cwg1518-Z {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'Z &&' for 1st argument}}
219 // since-cxx11-note@#cwg1518-Z-int {{explicit constructor is not a candidate}}
226 // since-cxx11-error@-1 {{chosen constructor is explicit in copy-initialization}}
227 // since-cxx11-note@#cwg1518-Z-int-int {{explicit constructor declared here}}
247 // since-cxx11-error@-1 {{no matching constructor for initialization of 'InheritsCtor'}}
248 // since-cxx11-note@#cwg1518-BC {{candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided}}
249 // since-cxx11-note@#cwg1518-I-using {{constructor from base class 'BaseCtor' inherited here}}
250 // since-cxx11-note@#cwg1518-BC {{candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided}}
251 // since-cxx11-note@#cwg1518-I-using {{constructor from base class 'BaseCtor' inherited here}}
252 // since-cxx11-note@#cwg1518-I {{candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided}}
253 // since-cxx11-note@#cwg1518-I {{candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided}}
254 // since-cxx11-note@#cwg1518-I {{candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided}}
278 // since-cxx11-error@#cwg1518-v {{chosen constructor is explicit in copy-initialization}}
279 // since-cxx11-note@#cwg1518-f-A {{in instantiation of function template specialization 'cwg1518::std_example::f<cwg1518::std_example::A>' requested here}}
280 // since-cxx11-note@#cwg1518-A {{explicit constructor declared here}}
281 // since-cxx11-error@#cwg1518-v {{chosen constructor is explicit in copy-initialization}}
282 // since-cxx11-note@#cwg1518-f-B {{in instantiation of function template specialization 'cwg1518::std_example::f<cwg1518::std_example::B>' requested here}}
283 // since-cxx11-note@#cwg1518-B {{explicit constructor declared here}}
284 // since-cxx11-error@#cwg1518-v {{chosen constructor is explicit in copy-initialization}}
285 // since-cxx11-note@#cwg1518-f-C {{in instantiation of function template specialization 'cwg1518::std_example::f<cwg1518::std_example::C>' requested here}}
286 // since-cxx11-note@#cwg1518-C {{explicit constructor declared here}}
287 // since-cxx11-error@#cwg1518-v {{chosen constructor is explicit in copy-initialization}}
288 // since-cxx11-note@#cwg1518-f-D {{in instantiation of function template specialization 'cwg1518::std_example::f<cwg1518::std_example::D>' requested here}}
289 // since-cxx11-note@#cwg1518-D {{explicit constructor declared here}}
294 // since-cxx11-error@#cwg1518-x-call {{chosen constructor is explicit in copy-initialization}}
295 // since-cxx11-note@#cwg1518-g-A {{in instantiation of function template specialization 'cwg1518::std_example::g<cwg1518::std_example::A>' requested here}}
296 // since-cxx11-note@#cwg1518-A {{explicit constructor declared here}}
297 // since-cxx11-note@#cwg1518-x {{passing argument to parameter 't' here}}
298 // since-cxx11-error@#cwg1518-x-call {{chosen constructor is explicit in copy-initialization}}
299 // since-cxx11-note@#cwg1518-g-B {{in instantiation of function template specialization 'cwg1518::std_example::g<cwg1518::std_example::B>' requested here}}
300 // since-cxx11-note@#cwg1518-B {{explicit constructor declared here}}
301 // since-cxx11-note@#cwg1518-x {{passing argument to parameter 't' here}}
302 // since-cxx11-error@#cwg1518-x-call {{chosen constructor is explicit in copy-initialization}}
303 // since-cxx11-note@#cwg1518-g-C {{in instantiation of function template specialization 'cwg1518::std_example::g<cwg1518::std_example::C>' requested here}}
304 // since-cxx11-note@#cwg1518-C {{explicit constructor declared here}}
305 // since-cxx11-note@#cwg1518-x {{passing argument to parameter 't' here}}
306 // since-cxx11-error@#cwg1518-x-call {{chosen constructor is explicit in copy-initialization}}
307 // since-cxx11-note@#cwg1518-g-D {{in instantiation of function template specialization 'cwg1518::std_example::g<cwg1518::std_example::D>' requested here}}
308 // since-cxx11-note@#cwg1518-D {{explicit constructor declared here}}
309 // since-cxx11-note@#cwg1518-x {{passing argument to parameter 't' here}}
342 // since-cxx11-error@-1 {{call to deleted function 'f'}}
343 // since-cxx11-note@#cwg1558-f-deleted {{candidate function [with T = int] has been explicitly deleted}}
344 // since-cxx11-note@#cwg1558-f {{candidate template ignored: substitution failure [with T = int]: type 'int' cannot be used prior to '::' because it has no members}}
391 // since-cxx11-error@-1 {{no matching constructor for initialization of 'B'}}
392 // since-cxx11-note@#cwg1567-A-int {{candidate inherited constructor not viable: no known conversion from 'A' to 'int' for 1st argument}}
393 // since-cxx11-note@#cwg1567-using-A {{constructor from base class 'A' inherited here}}
394 // since-cxx11-note@#cwg1567-B {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'A' to 'const B' for 1st argument}}
395 // since-cxx11-note@#cwg1567-B {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'A' to 'B' for 1st argument}}
396 // since-cxx11-note@#cwg1567-B-double {{candidate constructor not viable: no known conversion from 'A' to 'double' for 1st argument}}
398 // since-cxx11-error@-1 {{no matching constructor for initialization of 'B'}}
399 // since-cxx11-note@#cwg1567-A-int {{candidate inherited constructor not viable: no known conversion from 'A' to 'int' for 1st argument}}
400 // since-cxx11-note@#cwg1567-using-A {{constructor from base class 'A' inherited here}}
401 // since-cxx11-note@#cwg1567-B {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'A' to 'const B' for 1st argument}}
402 // since-cxx11-note@#cwg1567-B {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'A' to 'B' for 1st argument}}
403 // since-cxx11-note@#cwg1567-B-double {{candidate constructor not viable: no known conversion from 'A' to 'double' for 1st argument}}
420 // since-cxx11-error@-1 {{constexpr variable cannot have non-literal type 'const E'}}
421 // since-cxx11-note@#cwg1573-E {{'E' is not literal because it has data member 'a' of non-literal type 'A'}}
427 // since-cxx11-error@-1 {{constexpr variable 'f' must be initialized by a constant expression}}
429 // since-cxx23-note@-3 {{in implicit initialization for inherited constructor of 'F'}}
430 // since-cxx23-note@#cwg1573-F {{non-constexpr constructor 'C' cannot be used in a constant expression}}
432 // since-cxx23-note@#cwg1573-C {{declared here}}
438 // since-cxx11-error@-1 {{constructor inherited by 'H' from base class 'G' is implicitly deleted}}
439 // since-cxx11-note@#cwg1573-H {{constructor inherited by 'H' is implicitly deleted because field 'g' has no default constructor}}
445 // since-cxx11-error@-1 {{call to deleted constructor of 'J'}}
446 // since-cxx11-note@#cwg1573-I {{'I' has been explicitly marked deleted here}}
525 // since-cxx11-error@-1 {{conversion function from 'int' to 'GenericMoveOnly<float>' invokes a deleted function}}
526 // since-cxx11-note@#cwg1579-deleted-int {{'GenericMoveOnly' has been explicitly marked deleted here}}
529 // since-cxx11-error@-1 {{conversion function from 'GenericMoveOnly<char>' to 'GenericMoveOnly<float>' invokes a deleted function}}
530 // since-cxx11-note@#cwg1579-deleted-U {{'GenericMoveOnly<char>' has been explicitly marked deleted here}}
533 // since-cxx11-error@-1 {{conversion function from 'GenericMoveOnly<char>' to 'GenericMoveOnly<float>' invokes a deleted function}}
534 // since-cxx11-note@#cwg1579-deleted-U {{'GenericMoveOnly<char>' has been explicitly marked deleted here}}
537 // since-cxx11-error@-1 {{conversion function from 'GenericMoveOnly<char>' to 'GenericMoveOnly<float>' invokes a deleted function}}
538 // since-cxx11-note@#cwg1579-deleted-U {{'GenericMoveOnly<char>' has been explicitly marked deleted here}}
541 // since-cxx11-error@-1 {{conversion function from 'int' to 'GenericMoveOnly<float>' invokes a deleted function}}
542 // since-cxx11-note@#cwg1579-deleted-int {{'GenericMoveOnly' has been explicitly marked deleted here}}
545 // since-cxx11-error@-1 {{conversion function from 'GenericMoveOnly<char>' to 'GenericMoveOnly<float>' invokes a deleted function}}
546 // since-cxx11-note@#cwg1579-deleted-U {{'GenericMoveOnly<char>' has been explicitly marked deleted here}}
557 // since-cxx11-error@-1 {{conversion function from 'GenericMoveOnly<float>' to 'GenericMoveOnly<char>' invokes a deleted function}}
558 // since-cxx11-note@#cwg1579-deleted-U {{'GenericMoveOnly<float>' has been explicitly marked deleted here}}
615 // since-cxx11-error@-1 {{call to 'f0' is ambiguous}}
616 // since-cxx11-note@#cwg1589-f0-ilist {{candidate function}}
617 // since-cxx11-note@#cwg1589-f0-ilist-int {{candidate function}}
623 // since-cxx11-error@-1 {{call to 'f1' is ambiguous}}
624 // since-cxx11-note@#cwg1589-f1-ilist {{candidate function}}
625 // since-cxx11-note@#cwg1589-f1-ilist-long {{candidate function}}
631 // since-cxx11-error@-1 {{call to 'f2' is ambiguous}}
632 // since-cxx11-note@#cwg1589-f2-ilist {{candidate function}}
633 // since-cxx11-note@#cwg1589-f2-ilist-int {{candidate function}}
649 // since-cxx11-error@-1 {{no matching function for call to 'k'}}
650 // since-cxx11-note@#cwg1591-k {{candidate function [with N = 3] not viable: no known conversion from 'int' to 'const Aggr' for 1st argument}}
667 // since-cxx11-error@-1 {{no matching function for call to 'f'}}
668 // since-cxx11-note@#cwg1591-f-2 {{candidate template ignored: couldn't infer template argument 'T'}}
669 // since-cxx11-note@#cwg1591-f-1 {{candidate template ignored: couldn't infer template argument 'T'}}
670 // since-cxx11-note@#cwg1591-f-3 {{candidate template ignored: deduced conflicting values for parameter 'O' (2 vs. 3)}}
682 // since-cxx11-error@-1 {{no matching function for call to 'g'}}
683 // since-cxx11-note@#cwg1591-g-2 {{candidate template ignored: couldn't infer template argument 'T'}}
684 // since-cxx11-note@#cwg1591-g-1 {{candidate template ignored: couldn't infer template argument 'T'}}
685 // since-cxx11-note@#cwg1591-g-3 {{candidate template ignored: deduced conflicting values for parameter 'O' (2 vs. 3)}}
713 // since-cxx11-error@-1 {{call to 'i' is ambiguous}}
714 // since-cxx11-note@#cwg1591-i-2 {{candidate function [with T = int, N = 2, M = 3]}}
715 // since-cxx11-note@#cwg1591-i-1 {{candidate function [with T = int, N = 2]}}