Home | History | Annotate | Download | only in Misc

Lines Matching full:elide

1 // RUN: not %clang_cc1 -fsyntax-only %s -std=c++11 2>&1 | FileCheck %s -check-prefix=CHECK-ELIDE-NOTREE
2 // RUN: not %clang_cc1 -fsyntax-only %s -fno-elide-type -std=c++11 2>&1 | FileCheck %s -check-prefix=CHECK-NOELIDE-NOTREE
3 // RUN: not %clang_cc1 -fsyntax-only %s -fdiagnostics-show-template-tree -std=c++11 2>&1 | FileCheck %s -check-prefix=CHECK-ELIDE-TREE
4 // RUN: not %clang_cc1 -fsyntax-only %s -fno-elide-type -fdiagnostics-show-template-tree -std=c++11 2>&1 | FileCheck %s -check-prefix=CHECK-NOELIDE-TREE
26 // CHECK-ELIDE-NOTREE: no matching function for call to 'f'
27 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<std::basic_string>' to 'vector<versa_string>' for 1st argument
30 // CHECK-ELIDE-TREE: no matching function for call to 'f'
31 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
32 // CHECK-ELIDE-TREE: vector<
33 // CHECK-ELIDE-TREE: [std::basic_string != versa_string]>
45 // CHECK-ELIDE-NOTREE: no matching function for call to 'set1'
46 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'I1<[5 * ...], 2, [2 * ...], 7>' to 'I1<[5 * ...], 3, [2 * ...], (no argument)>' for 1st argument
49 // CHECK-ELIDE-TREE: no matching function for call to 'set1'
50 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
51 // CHECK-ELIDE-TREE: I1<
52 // CHECK-ELIDE-TREE: [5 * ...],
53 // CHECK-ELIDE-TREE: [2 != 3],
54 // CHECK-ELIDE-TREE: [2 * ...],
55 // CHECK-ELIDE-TREE: [7 != (no argument)]>
75 // CHECK-ELIDE-NOTREE: no matching function for call to 'set2'
76 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'I2<double, [...], int>' to 'I2<int, [...], (default) void>' for 1st argument
79 // CHECK-ELIDE-TREE: no matching function for call to 'set2'
80 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
81 // CHECK-ELIDE-TREE: I2<
82 // CHECK-ELIDE-TREE: [double != int],
83 // CHECK-ELIDE-TREE: [...],
84 // CHECK-ELIDE-TREE: [int != (default) void]>
99 // CHECK-ELIDE-NOTREE: no matching function for call to 'set3'
100 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'I3<&V3, [...]>' to 'I3<&V1, [...]>' for 1st argument
103 // CHECK-ELIDE-TREE: no matching function for call to 'set3'
104 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
105 // CHECK-ELIDE-TREE: I3<
106 // CHECK-ELIDE-TREE: [&V3 != &V1]
107 // CHECK-ELIDE-TREE: [...]>
127 // CHECK-ELIDE-NOTREE: no matching function for call to 'set4'
128 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Beta<void, void>' to 'Alpha<int, int>' for 1st argument
131 // CHECK-ELIDE-TREE: no matching function for call to 'set4'
132 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from 'Beta<void, void>' to 'Alpha<int, int>' for 1st argument
140 // CHECK-ELIDE-NOTREE: no matching function for call to 'set5'
141 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Alpha<Beta<Gamma<void, void>, double>, double>' to 'Alpha<Beta<Gamma<Delta<int, int>, int>, int>, int>' for 1st argument
144 // CHECK-ELIDE-TREE: no matching function for call to 'set5'
145 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
146 // CHECK-ELIDE-TREE: Alpha<
147 // CHECK-ELIDE-TREE: Beta<
148 // CHECK-ELIDE-TREE: Gamma<
149 // CHECK-ELIDE-TREE: [void != Delta<int, int>],
150 // CHECK-ELIDE-TREE: [void != int]>
151 // CHECK-ELIDE-TREE: [double != int]>
152 // CHECK-ELIDE-TREE: [double != int]>
166 // CHECK-ELIDE-NOTREE: no matching function for call to 'set5'
167 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Alpha<Beta<Delta<int, int>, [...]>, [...]>' to 'Alpha<Beta<Gamma<Delta<int, int>, int>, [...]>, [...]>' for 1st argument
170 // CHECK-ELIDE-TREE: no matching function for call to 'set5'
171 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
172 // CHECK-ELIDE-TREE: Alpha<
173 // CHECK-ELIDE-TREE: Beta<
174 // CHECK-ELIDE-TREE: [Delta<int, int> != Gamma<Delta<int, int>, int>],
175 // CHECK-ELIDE-TREE: [...]>
176 // CHECK-ELIDE-TREE: [...]>
196 // CHECK-ELIDE-NOTREE: no matching function for call to 'set7'
197 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class7<&b7>' to 'class7<&a7>' for 1st argument
198 // CHECK-ELIDE-NOTREE: no matching function for call to 'set7'
199 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class7<c7>' to 'class7<&a7>' for 1st argument
200 // CHECK-ELIDE-NOTREE: no matching function for call to 'set7'
201 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class7<nullptr>' to 'class7<&a7>' for 1st argument
208 // CHECK-ELIDE-TREE: no matching function for call to 'set7'
209 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
210 // CHECK-ELIDE-TREE: class7<
211 // CHECK-ELIDE-TREE: [&b7 != &a7]>
212 // CHECK-ELIDE-TREE: no matching function for call to 'set7'
213 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
214 // CHECK-ELIDE-TREE: class7<
215 // CHECK-ELIDE-TREE: [c7 != &a7]>
216 // CHECK-ELIDE-TREE: no matching function for call to 'set7'
217 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
218 // CHECK-ELIDE-TREE: class7<
219 // CHECK-ELIDE-TREE: [nullptr != &a7]>
237 // CHECK-ELIDE-NOTREE: no matching function for call to 'f8'
238 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'S8<[2 * ...], char>' to 'S8<[2 * ...], double>' for 1st argument
241 // CHECK-ELIDE-TREE: no matching function for call to 'f8'
242 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
243 // CHECK-ELIDE-TREE: S8<
244 // CHECK-ELIDE-TREE: [2 * ...],
245 // CHECK-ELIDE-TREE: [char != double]>
259 // CHECK-ELIDE-NOTREE: no matching function for call to 'f9'
260 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'S9<[2 * ...], S9<[2 * ...], double>>' to 'S9<[2 * ...], S9<[2 * ...], const double>>' for 1st argument
263 // CHECK-ELIDE-TREE: no matching function for call to 'f9'
264 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
265 // CHECK-ELIDE-TREE: S9<
266 // CHECK-ELIDE-TREE: [2 * ...],
267 // CHECK-ELIDE-TREE: S9<
268 // CHECK-ELIDE-TREE: [2 * ...],
269 // CHECK-ELIDE-TREE: [double != const double]>>
287 // CHECK-ELIDE-NOTREE: no matching function for call to 'set10'
288 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_types<[...], (no argument)>' to 'class_types<[...], int>' for 1st argument
289 // CHECK-ELIDE-NOTREE: no matching function for call to 'set10'
290 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_types<[2 * ...], int>' to 'class_types<[2 * ...], (no argument)>' for 1st argument
295 // CHECK-ELIDE-TREE: no matching function for call to 'set10'
296 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
297 // CHECK-ELIDE-TREE: class_types<
298 // CHECK-ELIDE-TREE: [...],
299 // CHECK-ELIDE-TREE: [(no argument) != int]>
300 // CHECK-ELIDE-TREE: no matching function for call to 'set10'
301 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
302 // CHECK-ELIDE-TREE: class_types<
303 // CHECK-ELIDE-TREE: [2 * ...],
304 // CHECK-ELIDE-TREE: [int != (no argument)]>
323 // CHECK-ELIDE-NOTREE: no matching function for call to 'set11'
324 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_ints<1, (no argument)>' to 'class_ints<2, 3>' for 1st argument
325 // CHECK-ELIDE-NOTREE: no matching function for call to 'set11'
326 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_ints<0, [...], 6>' to 'class_ints<2, [...], (no argument)>' for 1st argument
331 // CHECK-ELIDE-TREE: no matching function for call to 'set11'
332 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
333 // CHECK-ELIDE-TREE: class_ints<
334 // CHECK-ELIDE-TREE: [1 != 2],
335 // CHECK-ELIDE-TREE: [(no argument) != 3]>
336 // CHECK-ELIDE-TREE: no matching function for call to 'set11'
337 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
338 // CHECK-ELIDE-TREE: class_ints<
339 // CHECK-ELIDE-TREE: [0 != 2],
340 // CHECK-ELIDE-TREE: [...],
341 // CHECK-ELIDE-TREE: [6 != (no argument)]>
362 // CHECK-ELIDE-NOTREE: no matching function for call to 'set12'
363 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_template_templates<template tt2, template (no argument)>' to 'class_template_templates<template tt1, template tt1>' for 1st argument
364 // CHECK-ELIDE-NOTREE: no matching function for call to 'set12'
365 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_template_templates<[2 * ...], template tt1>' to 'class_template_templates<[2 * ...], template (no argument)>' for 1st argument
370 // CHECK-ELIDE-TREE: no matching function for call to 'set12'
371 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
372 // CHECK-ELIDE-TREE: class_template_templates<
373 // CHECK-ELIDE-TREE: [template tt2 != template tt1],
374 // CHECK-ELIDE-TREE: [template (no argument) != template tt1]>
375 // CHECK-ELIDE-TREE: no matching function for call to 'set12'
376 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
377 // CHECK-ELIDE-TREE: class_template_templates<
378 // CHECK-ELIDE-TREE: [2 * ...],
379 // CHECK-ELIDE-TREE: [template tt1 != template (no argument)]>
399 // CHECK-ELIDE-NOTREE: no matching function for call to 'set13'
400 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_ptrs<&c13, (no argument)>' to 'class_ptrs<&a13, &b13>' for 1st argument
401 // CHECK-ELIDE-NOTREE: no matching function for call to 'set13'
402 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'class_ptrs<[2 * ...], &d13>' to 'class_ptrs<[2 * ...], (no argument)>' for 1st argument
407 // CHECK-ELIDE-TREE: no matching function for call to 'set13'
408 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
409 // CHECK-ELIDE-TREE: class_ptrs<
410 // CHECK-ELIDE-TREE: [&c13 != &a13],
411 // CHECK-ELIDE-TREE: [(no argument) != &b13]>
412 // CHECK-ELIDE-TREE: no matching function for call to 'set13'
413 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
414 // CHECK-ELIDE-TREE: class_ptrs<
415 // CHECK-ELIDE-TREE: [2 * ...],
416 // CHECK-ELIDE-TREE: [&d13 != (no argument)]>
435 // CHECK-ELIDE-NOTREE: no matching function for call to 'f14'
436 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'a14<char>' to 'a14<int>' for 1st argument
439 // CHECK-ELIDE-TREE: no matching function for call to 'f14'
440 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
441 // CHECK-ELIDE-TREE: a14<
442 // CHECK-ELIDE-TREE: [char != int]>
452 // CHECK-ELIDE-NOTREE-NOT: set15
454 // CHECK-ELIDE-TREE-NOT: set15
462 // CHECK-ELIDE-NOTREE: no matching function for call to 'set16'
463 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<const vector<const int>>' to 'vector<const vector<int>>' for 1st argument
466 // CHECK-ELIDE-TREE: no matching function for call to 'set16'
467 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
468 // CHECK-ELIDE-TREE: vector<
469 // CHECK-ELIDE-TREE: const vector<
470 // CHECK-ELIDE-TREE: [const != (no qualifiers)] int>>
481 // CHECK-ELIDE-NOTREE: no matching function for call to 'set17'
482 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<const vector<[...]>>' to 'vector<vector<[...]>>' for 1st argument
485 // CHECK-ELIDE-TREE: no matching function for call to 'set17'
486 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
487 // CHECK-ELIDE-TREE: vector<
488 // CHECK-ELIDE-TREE: [const != (no qualifiers)] vector<
489 // CHECK-ELIDE-TREE: [...]>>
500 // CHECK-ELIDE-NOTREE: no matching function for call to 'set18'
501 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<vector<[...]>>' to 'vector<const vector<[...]>>' for 1st argument
504 // CHECK-ELIDE-TREE: no matching function for call to 'set18'
505 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
506 // CHECK-ELIDE-TREE: vector<
507 // CHECK-ELIDE-TREE: [(no qualifiers) != const] vector<
508 // CHECK-ELIDE-TREE: [...]>>
519 // CHECK-ELIDE-NOTREE: no matching function for call to 'set19'
520 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<const vector<[...]>>' to 'vector<volatile vector<[...]>>' for 1st argument
523 // CHECK-ELIDE-TREE: no matching function for call to 'set19'
524 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
525 // CHECK-ELIDE-TREE: vector<
526 // CHECK-ELIDE-TREE: [const != volatile] vector<
527 // CHECK-ELIDE-TREE: [...]>>
538 // CHECK-ELIDE-NOTREE: no matching function for call to 'set20'
539 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<const vector<[...]>>' to 'vector<const volatile vector<[...]>>' for 1st argument
542 // CHECK-ELIDE-TREE: no matching function for call to 'set20'
543 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
544 // CHECK-ELIDE-TREE: vector<
545 // CHECK-ELIDE-TREE: [const != const volatile] vector<
546 // CHECK-ELIDE-TREE: [...]>>
559 // CHECK-ELIDE-NOTREE: no matching function for call to 'f21'
560 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<U21<[...]>>' to 'vector<const U21<[...]>>' for 1st argument
563 // CHECK-ELIDE-TREE: no matching function for call to 'f21'
564 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
565 // CHECK-ELIDE-TREE: vector<
566 // CHECK-ELIDE-TREE: [(no qualifiers) != const] U21<
567 // CHECK-ELIDE-TREE: [...]>>
579 // CHECK-ELIDE-NOTREE: no matching function for call to 'f22'
580 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<U22<[...]>>' to 'vector<const U22<[...]>>' for 1st argument
583 // CHECK-ELIDE-TREE: no matching function for call to 'f22'
584 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
585 // CHECK-ELIDE-TREE: vector<
586 // CHECK-ELIDE-TREE: [(no qualifiers) != const] U22<
587 // CHECK-ELIDE-TREE: [...]>>
606 // CHECK-ELIDE-NOTREE: no matching function for call to 'foo23'
607 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'D23<D23<char>>' to 'D23<const D23<int>>' for 1st argument
608 // CHECK-ELIDE-NOTREE: no matching function for call to 'foo23'
609 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'D23<char>' to 'D23<A23<>>' for 1st argument
614 // CHECK-ELIDE-TREE: no matching function for call to 'foo23'
615 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
616 // CHECK-ELIDE-TREE: D23<
617 // CHECK-ELIDE-TREE: [(no qualifiers) != const] D23<
618 // CHECK-ELIDE-TREE: [char != int]>>
619 // CHECK-ELIDE-TREE: no matching function for call to 'foo23'
620 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
621 // CHECK-ELIDE-TREE: D23<
622 // CHECK-ELIDE-TREE: [char != A23<>]>
647 // CHECK-ELIDE-NOTREE: no viable overloaded '='
648 // CHECK-ELIDE-NOTREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'Foo1<1>' to 'const Foo1<2>' for 1st argument
649 // CHECK-ELIDE-NOTREE: candidate function (the implicit move assignment operator) not viable: no known conversion from 'Foo1<1>' to 'Foo1<2>' for 1st argument
650 // CHECK-ELIDE-NOTREE: no viable overloaded '='
651 // CHECK-ELIDE-NOTREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'Foo1<2>' to 'const Foo1<1>' for 1st argument
652 // CHECK-ELIDE-NOTREE: candidate function (the implicit move assignment operator) not viable: no known conversion from 'Foo1<2>' to 'Foo1<1>' for 1st argument
659 // CHECK-ELIDE-TREE: no viable overloaded '='
660 // CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
661 // CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo1<
662 // CHECK-ELIDE-TREE: [1 != 2]>
663 // CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
664 // CHECK-ELIDE-TREE: Foo1<
665 // CHECK-ELIDE-TREE: [1 != 2]>
666 // CHECK-ELIDE-TREE: no viable overloaded '='
667 // CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
668 // CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo1<
669 // CHECK-ELIDE-TREE: [2 != 1]>
670 // CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
671 // CHECK-ELIDE-TREE: Foo1<
672 // CHECK-ELIDE-TREE: [2 != 1]>
696 // CHECK-ELIDE-NOTREE: no viable overloaded '='
697 // CHECK-ELIDE-NOTREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'Foo2<1>' to 'const Foo2<2>' for 1st argument
698 // CHECK-ELIDE-NOTREE: candidate function (the implicit move assignment operator) not viable: no known conversion from 'Foo2<1>' to 'Foo2<2>' for 1st argument
699 // CHECK-ELIDE-NOTREE: no viable overloaded '='
700 // CHECK-ELIDE-NOTREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'Foo2<(default) 2>' to 'const Foo2<1>' for 1st argument
701 // CHECK-ELIDE-NOTREE: candidate function (the implicit move assignment operator) not viable: no known conversion from 'Foo2<(default) 2>' to 'Foo2<1>' for 1st argument
708 // CHECK-ELIDE-TREE: no viable overloaded '='
709 // CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
710 // CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo2<
711 // CHECK-ELIDE-TREE: [1 != 2]>
712 // CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
713 // CHECK-ELIDE-TREE: Foo2<
714 // CHECK-ELIDE-TREE: [1 != 2]>
715 // CHECK-ELIDE-TREE: no viable overloaded '='
716 // CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
717 // CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo2<
718 // CHECK-ELIDE-TREE: [(default) 2 != 1]>
719 // CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
720 // CHECK-ELIDE-TREE: Foo2<
721 // CHECK-ELIDE-TREE: [(default) 2 != 1]>
745 // CHECK-ELIDE-NOTREE: no viable overloaded '='
746 // CHECK-ELIDE-NOTREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'Foo3<1, (no argument)>' to 'const Foo3<2, 1>' for 1st argument
747 // CHECK-ELIDE-NOTREE: candidate function (the implicit move assignment operator) not viable: no known conversion from 'Foo3<1, (no argument)>' to 'Foo3<2, 1>' for 1st argument
748 // CHECK-ELIDE-NOTREE: no viable overloaded '='
749 // CHECK-ELIDE-NOTREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'Foo3<2, 1>' to 'const Foo3<1, (no argument)>' for 1st argument
750 // CHECK-ELIDE-NOTREE: candidate function (the implicit move assignment operator) not viable: no known conversion from 'Foo3<2, 1>' to 'Foo3<1, (no argument)>' for 1st argument
757 // CHECK-ELIDE-TREE: no viable overloaded '='
758 // CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
759 // CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo3<
760 // CHECK-ELIDE-TREE: [1 != 2],
761 // CHECK-ELIDE-TREE: [(no argument) != 1]>
762 // CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
763 // CHECK-ELIDE-TREE: Foo3<
764 // CHECK-ELIDE-TREE: [1 != 2],
765 // CHECK-ELIDE-TREE: [(no argument) != 1]>
766 // CHECK-ELIDE-TREE: no viable overloaded '='
767 // CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
768 // CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo3<
769 // CHECK-ELIDE-TREE: [2 != 1],
770 // CHECK-ELIDE-TREE: [1 != (no argument)]>
771 // CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
772 // CHECK-ELIDE-TREE: Foo3<
773 // CHECK-ELIDE-TREE: [2 != 1],
774 // CHECK-ELIDE-TREE: [1 != (no argument)]>
799 // CHECK-ELIDE-NOTREE: error: no viable conversion from 'X<long, [...]>' to 'X<int, [...]>'
800 // CHECK-ELIDE-NOTREE: error: no viable conversion from 'X<[...], 2>' to 'X<[...], 3>'
812 // CHECK-ELIDE-NOTREE: non-const lvalue reference to type 'VariableList<>' cannot bind to a temporary of type 'VariableList<>'
828 // CHECK-ELIDE-NOTREE: virtual function 'foo' has a different return type
844 // CHECK-ELIDE-NOTREE: no matching function for call to 'func'
845 // CHECK-ELIDE-NOTREE: candidate template ignored: deduced conflicting types for parameter 'Args' (<int, int &> vs. <int, int>)
858 // CHECK-ELIDE-NOTREE: no viable overloaded '='
859 // CHECK-ELIDE-NOTREE: no known conversion from 'B::X<int>' to 'const rdar12931988::A::X<int>'
866 // CHECK-ELIDE-NOTREE: no viable overloaded '='
867 // CHECK-ELIDE-NOTREE: no known conversion from 'Y<template rdar12931988::B::X>' to 'Y<template rdar12931988::A::X>'
887 // CHECK-ELIDE-NOTREE: no viable overloaded '='
888 // CHECK-ELIDE-NOTREE: no known conversion from 'S<int2>' to 'S<int1>'
891 // CHECK-ELIDE-NOTREE: no viable overloaded '='
892 // CHECK-ELIDE-NOTREE: no known conversion from 'S<int1>' to 'S<int2>'
896 // CHECK-ELIDE-NOTREE: no viable overloaded '='
897 // CHECK-ELIDE-NOTREE: no known conversion from 'S<int1>' to 'S<default_int>'
900 // CHECK-ELIDE-NOTREE: no viable overloaded '='
901 // CHECK-ELIDE-NOTREE: no known conversion from 'S<(default) default_int>' to 'S<int2>'
924 // CHECK-ELIDE-NOTREE: no viable overloaded '='
925 // CHECK-ELIDE-NOTREE: no known conversion from 'A<char, [...]>' to 'A<int, [...]>'
927 // CHECK-ELIDE-NOTREE: no viable overloaded '='
928 // CHECK-ELIDE-NOTREE: no known conversion from 'A<[...], (default) 40>' to 'A<[...], 10>'
930 // CHECK-ELIDE-NOTREE: no viable overloaded '='
931 // CHECK-ELIDE-NOTREE: no known conversion from 'A<int, 10>' to 'A<char, 40>'
937 // CHECK-ELIDE-NOTREE: no viable overloaded '='
938 // CHECK-ELIDE-NOTREE: no known conversion from 'B<char, [...]>' to 'B<int, [...]>'
940 // CHECK-ELIDE-NOTREE: no viable overloaded '='
941 // CHECK-ELIDE-NOTREE: no known conversion from 'B<[...], (default) int>' to 'B<[...], char>'
943 // CHECK-ELIDE-NOTREE: no viable overloaded '='
944 // CHECK-ELIDE-NOTREE: no known conversion from 'B<int, char>' to 'B<char, int>'
950 // CHECK-ELIDE-NOTREE: no viable overloaded '='
951 // CHECK-ELIDE-NOTREE: no known conversion from 'C<char, (default) I>' to 'C<int, I>'
953 // CHECK-ELIDE-NOTREE: no viable overloaded '='
954 // CHECK-ELIDE-NOTREE: no known conversion from 'C<[...], (default) I>' to 'C<[...], other>'
956 // CHECK-ELIDE-NOTREE: no viable overloaded '='
957 // CHECK-ELIDE-NOTREE: no known conversion from 'C<int, other>' to 'C<char, I>'
972 // CHECK-ELIDE-NOTREE: no viable overloaded '='
973 // CHECK-ELIDE-NOTREE: no known conversion from 'A<[...], (no argument), (no argument)>' to 'A<[...], 6, 7>'
975 // CHECK-ELIDE-NOTREE: no viable overloaded '='
976 // CHECK-ELIDE-NOTREE: no known conversion from 'A<(default) 5, (no argument)>' to 'A<1, 2>'
982 // CHECK-ELIDE-NOTREE: no viable overloaded '='
983 // CHECK-ELIDE-NOTREE: no known conversion from 'B<[...], (no argument), (no argument)>' to 'B<[...], i2, i3>'
985 // CHECK-ELIDE-NOTREE: no viable overloaded '='
986 // CHECK-ELIDE-NOTREE: no known conversion from 'B<(default) i1, (no argument)>' to 'B<i2, i3>'
989 // CHECK-ELIDE-NOTREE: no viable conversion from 'B<[...], (no argument), (no argument)>' to 'B<[...], i2, i3>'
991 // CHECK-ELIDE-NOTREE: no viable conversion from 'B<(default) i1, (no argument)>' to 'B<i2, i3>'
997 // CHECK-ELIDE-NOTREE: no viable overloaded '='
998 // CHECK-ELIDE-NOTREE: no known conversion from 'C<[...], (no argument)>' to 'C<[...], void>'
1000 // CHECK-ELIDE-NOTREE: no viable overloaded '='
1001 // CHECK-ELIDE-NOTREE: no known conversion from 'C<(default) void, (no argument)>' to 'C<char, char>'
1014 // CHECK-ELIDE-NOTREE: no matching constructor for initialization of 'T<&b>'
1015 // CHECK-ELIDE-NOTREE: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'T<&a>' to 'const T<&b>' for 1st argument
1017 // CHECK-ELIDE-NOTREE: no matching constructor for initialization of 'T<&c>'
1018 // CHECK-ELIDE-NOTREE: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'T<z>' to 'const T<&c>' for 1st argument
1022 // CHECK-ELIDE-NOTREE: no matching constructor for initialization of 'U<&b>'
1023 // CHECK-ELIDE-NOTREE: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'U<&a, &a>' to 'const U<&b, (no argument)>' for 1st argument
1026 // CHECK-ELIDE-NOTREE: no matching constructor for initialization of 'U<&b, &b, &b>'
1027 // CHECK-ELIDE-NOTREE: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'U<&a, &a, (no argument)>' to 'const U<&b, &b, &b>' for 1st argument
1050 // CHECK-ELIDE-NOTREE: no viable conversion from 'M<C<DependentInt::N, INT<1>>>' to 'M<C<int, INT<0>>>'
1067 // CHECK-ELIDE-NOTREE: no known conversion from 'vector<PR17510::Atom *, [...]>' to 'const vector<const PR17510::Atom *, [...]>'
1080 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('A<!T::value>' vs 'A<T::value>')
1090 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('C<T::value + 1>' vs 'C<T::value>')
1097 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('C<42>' vs 'C<T::value>')
1104 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('C<21 + 21 aka 42>' vs 'C<T::value>')
1121 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global>>' to 'Wrapper<S<ptr>>'
1125 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global>>' to 'Wrapper<S<&global2>>'
1127 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global>>' to 'Wrapper<S<&global2>>'
1129 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global>>' to 'Wrapper<S<&global2>>'
1149 // CHECK-ELIDE-NOTREE: no viable conversion from 'S<[...], &global>' to 'S<[...], nullptr>'
1151 // CHECK-ELIDE-NOTREE: no viable conversion from 'S<[...], &global>' to 'S<[...], ptr>
1157 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<[...], &global>>' to 'Wrapper<S<[...], nullptr>>'
1159 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<[...], &global>>' to 'Wrapper<S<[...], ptr>>'
1162 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1164 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1166 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1168 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1170 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1172 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1175 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1178 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<&global, [...]>>' to 'Wrapper<S<&global2, [...]>>'
1181 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<[...], nullptr>>' to 'Wrapper<S<[...], &global>>'
1183 // CHECK-ELIDE-NOTREE: no viable conversion from 'Wrapper<S<[...], &global>>' to 'Wrapper<S<[...], ptr>>'
1194 // CHECK-ELIDE-NOTREE: no viable conversion from 'T<[...], template C>' to 'T<[...], (default) template A>'
1196 // CHECK-ELIDE-NOTREE: no viable conversion from 'T<[...], (default) template A>' to 'T<[...], template C>'
1198 // CHECK-ELIDE-NOTREE: no viable conversion from 'T<template B>' to 'T<template A>'
1200 // CHECK-ELIDE-NOTREE: no viable conversion from 'T<template C, template B>' to 'T<template B, template C>'
1202 // CHECK-ELIDE-NOTREE: no viable conversion from 'T<template B, [...]>' to 'T<template A, [...]>'
1204 // CHECK-ELIDE-NOTREE: no viable conversion from 'T<template A, [...]>' to 'T<template B, [...]>'
1210 // CHECK-ELIDE-NOTREE: no viable conversion from 'A<int>' to 'A<bool>'
1212 // CHECK-ELIDE-NOTREE: no viable conversion from 'A<bool>' to 'A<int>'
1223 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('A<T::num + 0>' vs 'A<T::num>')
1227 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('A<T::num + 1>' vs 'A<1 + T::num>')
1231 // CHECK-ELIDE-NOTREE: error: type alias template redefinition with different types ('A<T::num>' vs 'A<(T::num)>')
1235 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('A<((T::num))>' vs 'A<(T::num)>')
1239 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('A<[...], (default) 0>' vs 'A<[...], 1>')
1243 // CHECK-ELIDE
1247 // CHECK-ELIDE-NOTREE: type alias template redefinition with different types ('A<(T::num), (default) 0>' vs 'A<T::num, 1>')
1261 // CHECK-ELIDE-NOTREE: binding value of type 'const condition<[...]>' to reference to type 'condition<[...]>' drops 'const' qualifier
1273 // CHECK-ELIDE-NOTREE: no matching function for call to 'foo'
1274 // CHECK-ELIDE-NOTREE: candidate function [with T = BoolArgumentBitExtended::BoolT<true>] not viable: no known conversion from 'BoolT<0>' to 'BoolT<1>' for 1st argument
1277 // CHECK-ELIDE-NOTREE: {{[0-9]*}} errors generated.
1279 // CHECK-ELIDE-TREE: {{[0-9]*}} errors generated.