Skip to content

Commit d447c6e

Browse files
committed
[clang] NFC: remove stray newlines from clang/test/Misc/diag-template-diffing-cxx11.cpp
1 parent 70c325b commit d447c6e

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

clang/test/Misc/diag-template-diffing-cxx11.cpp

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void test2() {
8080
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
8181
// CHECK-ELIDE-TREE: I2<
8282
// CHECK-ELIDE-TREE: [double != int],
83-
// CHECK-ELIDE-TREE: [...],
83+
// CHECK-ELIDE-TREE: [...],
8484
// CHECK-ELIDE-TREE: [int != (default) void]>
8585
// CHECK-NOELIDE-TREE: no matching function for call to 'set2'
8686
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
@@ -241,13 +241,13 @@ int k8 = f8(U8<char>());
241241
// CHECK-ELIDE-TREE: no matching function for call to 'f8'
242242
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
243243
// CHECK-ELIDE-TREE: S8<
244-
// CHECK-ELIDE-TREE: [2 * ...],
244+
// CHECK-ELIDE-TREE: [2 * ...],
245245
// CHECK-ELIDE-TREE: [char != double]>
246246
// CHECK-NOELIDE-TREE: no matching function for call to 'f8'
247247
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
248248
// CHECK-NOELIDE-TREE: S8<
249-
// CHECK-NOELIDE-TREE: int,
250-
// CHECK-NOELIDE-TREE: char,
249+
// CHECK-NOELIDE-TREE: int,
250+
// CHECK-NOELIDE-TREE: char,
251251
// CHECK-NOELIDE-TREE: [char != double]>
252252

253253
template<typename ...T> struct S9 {};
@@ -292,23 +292,23 @@ void test10() {
292292
// CHECK-ELIDE-TREE: no matching function for call to 'set10'
293293
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
294294
// CHECK-ELIDE-TREE: class_types<
295-
// CHECK-ELIDE-TREE: [...],
295+
// CHECK-ELIDE-TREE: [...],
296296
// CHECK-ELIDE-TREE: [(no argument) != int]>
297297
// CHECK-ELIDE-TREE: no matching function for call to 'set10'
298298
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
299299
// CHECK-ELIDE-TREE: class_types<
300-
// CHECK-ELIDE-TREE: [2 * ...],
300+
// CHECK-ELIDE-TREE: [2 * ...],
301301
// CHECK-ELIDE-TREE: [int != (no argument)]>
302302
// CHECK-NOELIDE-TREE: no matching function for call to 'set10'
303303
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
304304
// CHECK-NOELIDE-TREE: class_types<
305-
// CHECK-NOELIDE-TREE: int,
305+
// CHECK-NOELIDE-TREE: int,
306306
// CHECK-NOELIDE-TREE: [(no argument) != int]>
307307
// CHECK-NOELIDE-TREE: no matching function for call to 'set10'
308308
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
309309
// CHECK-NOELIDE-TREE: class_types<
310-
// CHECK-NOELIDE-TREE: int,
311-
// CHECK-NOELIDE-TREE: int,
310+
// CHECK-NOELIDE-TREE: int,
311+
// CHECK-NOELIDE-TREE: int,
312312
// CHECK-NOELIDE-TREE: [int != (no argument)]>
313313

314314
template<int ...A> class class_ints {};
@@ -328,24 +328,24 @@ void test11() {
328328
// CHECK-ELIDE-TREE: no matching function for call to 'set11'
329329
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
330330
// CHECK-ELIDE-TREE: class_ints<
331-
// CHECK-ELIDE-TREE: [1 != 2],
331+
// CHECK-ELIDE-TREE: [1 != 2],
332332
// CHECK-ELIDE-TREE: [(no argument) != 3]>
333333
// CHECK-ELIDE-TREE: no matching function for call to 'set11'
334334
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
335335
// CHECK-ELIDE-TREE: class_ints<
336-
// CHECK-ELIDE-TREE: [0 != 2],
337-
// CHECK-ELIDE-TREE: [...],
336+
// CHECK-ELIDE-TREE: [0 != 2],
337+
// CHECK-ELIDE-TREE: [...],
338338
// CHECK-ELIDE-TREE: [6 != (no argument)]>
339339
// CHECK-NOELIDE-TREE: no matching function for call to 'set11'
340340
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
341341
// CHECK-NOELIDE-TREE: class_ints<
342-
// CHECK-NOELIDE-TREE: [1 != 2],
342+
// CHECK-NOELIDE-TREE: [1 != 2],
343343
// CHECK-NOELIDE-TREE: [(no argument) != 3]>
344344
// CHECK-NOELIDE-TREE: no matching function for call to 'set11'
345345
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
346346
// CHECK-NOELIDE-TREE: class_ints<
347-
// CHECK-NOELIDE-TREE: [0 != 2],
348-
// CHECK-NOELIDE-TREE: 3,
347+
// CHECK-NOELIDE-TREE: [0 != 2],
348+
// CHECK-NOELIDE-TREE: 3,
349349
// CHECK-NOELIDE-TREE: [6 != (no argument)]>
350350

351351
template<template<class> class ...A> class class_template_templates {};
@@ -367,23 +367,23 @@ void test12() {
367367
// CHECK-ELIDE-TREE: no matching function for call to 'set12'
368368
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
369369
// CHECK-ELIDE-TREE: class_template_templates<
370-
// CHECK-ELIDE-TREE: [template tt2 != template tt1],
370+
// CHECK-ELIDE-TREE: [template tt2 != template tt1],
371371
// CHECK-ELIDE-TREE: [template (no argument) != template tt1]>
372372
// CHECK-ELIDE-TREE: no matching function for call to 'set12'
373373
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
374374
// CHECK-ELIDE-TREE: class_template_templates<
375-
// CHECK-ELIDE-TREE: [2 * ...],
375+
// CHECK-ELIDE-TREE: [2 * ...],
376376
// CHECK-ELIDE-TREE: [template tt1 != template (no argument)]>
377377
// CHECK-NOELIDE-TREE: no matching function for call to 'set12'
378378
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
379379
// CHECK-NOELIDE-TREE: class_template_templates<
380-
// CHECK-NOELIDE-TREE: [template tt2 != template tt1],
380+
// CHECK-NOELIDE-TREE: [template tt2 != template tt1],
381381
// CHECK-NOELIDE-TREE: [template (no argument) != template tt1]>
382382
// CHECK-NOELIDE-TREE: no matching function for call to 'set12'
383383
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
384384
// CHECK-NOELIDE-TREE: class_template_templates<
385-
// CHECK-NOELIDE-TREE: template tt1,
386-
// CHECK-NOELIDE-TREE: template tt1,
385+
// CHECK-NOELIDE-TREE: template tt1,
386+
// CHECK-NOELIDE-TREE: template tt1,
387387
// CHECK-NOELIDE-TREE: [template tt1 != template (no argument)]>
388388

389389
double a13, b13, c13, d13;
@@ -404,23 +404,23 @@ void test13() {
404404
// CHECK-ELIDE-TREE: no matching function for call to 'set13'
405405
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
406406
// CHECK-ELIDE-TREE: class_ptrs<
407-
// CHECK-ELIDE-TREE: [&c13 != &a13],
407+
// CHECK-ELIDE-TREE: [&c13 != &a13],
408408
// CHECK-ELIDE-TREE: [(no argument) != &b13]>
409409
// CHECK-ELIDE-TREE: no matching function for call to 'set13'
410410
// CHECK-ELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
411411
// CHECK-ELIDE-TREE: class_ptrs<
412-
// CHECK-ELIDE-TREE: [2 * ...],
412+
// CHECK-ELIDE-TREE: [2 * ...],
413413
// CHECK-ELIDE-TREE: [&d13 != (no argument)]>
414414
// CHECK-NOELIDE-TREE: no matching function for call to 'set13'
415415
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
416416
// CHECK-NOELIDE-TREE: class_ptrs<
417-
// CHECK-NOELIDE-TREE: [&c13 != &a13],
417+
// CHECK-NOELIDE-TREE: [&c13 != &a13],
418418
// CHECK-NOELIDE-TREE: [(no argument) != &b13]>
419419
// CHECK-NOELIDE-TREE: no matching function for call to 'set13'
420420
// CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from argument type to parameter type for 1st argument
421421
// CHECK-NOELIDE-TREE: class_ptrs<
422-
// CHECK-NOELIDE-TREE: &a13,
423-
// CHECK-NOELIDE-TREE: &b13,
422+
// CHECK-NOELIDE-TREE: &a13,
423+
// CHECK-NOELIDE-TREE: &b13,
424424
// CHECK-NOELIDE-TREE: [&d13 != (no argument)]>
425425

426426
template<typename T> struct s14 {};
@@ -550,7 +550,7 @@ template<typename T> using U21 = volatile S21<T>;
550550
int f21(vector<const U21<int>>);
551551
int k21 = f21(vector<U21<int>>());
552552
// CHECK-ELIDE-NOTREE: no matching function for call to 'f21'
553-
// CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<U21<...>>' to 'vector<const U21<...>>' for 1st argument
553+
// CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<U21<...>>' to 'vector<const U21<...>>' for 1st argument
554554
// CHECK-NOELIDE-NOTREE: no matching function for call to 'f21'
555555
// CHECK-NOELIDE-NOTREE: candidate function not viable: no known conversion from 'vector<U21<int>>' to 'vector<const U21<int>>' for 1st argument
556556
// CHECK-ELIDE-TREE: no matching function for call to 'f21'
@@ -748,7 +748,7 @@ void Play3() {
748748
// CHECK-ELIDE-TREE: no viable overloaded '='
749749
// CHECK-ELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
750750
// CHECK-ELIDE-TREE: [(no qualifiers) != const] Foo3<
751-
// CHECK-ELIDE-TREE: [1 != 2],
751+
// CHECK-ELIDE-TREE: [1 != 2],
752752
// CHECK-ELIDE-TREE: [(no argument) != 1]>
753753
// CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
754754
// CHECK-ELIDE-TREE: Foo3<
@@ -761,25 +761,25 @@ void Play3() {
761761
// CHECK-ELIDE-TREE: [1 != (no argument)]>
762762
// CHECK-ELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
763763
// CHECK-ELIDE-TREE: Foo3<
764-
// CHECK-ELIDE-TREE: [2 != 1],
764+
// CHECK-ELIDE-TREE: [2 != 1],
765765
// CHECK-ELIDE-TREE: [1 != (no argument)]>
766766
// CHECK-NOELIDE-TREE: no viable overloaded '='
767767
// CHECK-NOELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
768768
// CHECK-NOELIDE-TREE: [(no qualifiers) != const] Foo3<
769-
// CHECK-NOELIDE-TREE: [1 != 2],
769+
// CHECK-NOELIDE-TREE: [1 != 2],
770770
// CHECK-NOELIDE-TREE: [(no argument) != 1]>
771771
// CHECK-NOELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
772772
// CHECK-NOELIDE-TREE: Foo3<
773-
// CHECK-NOELIDE-TREE: [1 != 2],
773+
// CHECK-NOELIDE-TREE: [1 != 2],
774774
// CHECK-NOELIDE-TREE: [(no argument) != 1]>
775775
// CHECK-NOELIDE-TREE: no viable overloaded '='
776776
// CHECK-NOELIDE-TREE: candidate function (the implicit copy assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
777777
// CHECK-NOELIDE-TREE: [(no qualifiers) != const] Foo3<
778-
// CHECK-NOELIDE-TREE: [2 != 1],
778+
// CHECK-NOELIDE-TREE: [2 != 1],
779779
// CHECK-NOELIDE-TREE: [1 != (no argument)]>
780780
// CHECK-NOELIDE-TREE: candidate function (the implicit move assignment operator) not viable: no known conversion from argument type to parameter type for 1st argument
781781
// CHECK-NOELIDE-TREE: Foo3<
782-
// CHECK-NOELIDE-TREE: [2 != 1],
782+
// CHECK-NOELIDE-TREE: [2 != 1],
783783
// CHECK-NOELIDE-TREE: [1 != (no argument)]>
784784
}
785785

@@ -807,14 +807,14 @@ namespace rdar12456626 {
807807
struct IntWrapper {
808808
typedef int type;
809809
};
810-
810+
811811
template<typename T, typename T::type V>
812812
struct X { };
813-
813+
814814
struct A {
815815
virtual X<IntWrapper, 1> foo();
816816
};
817-
817+
818818
struct B : A {
819819
// CHECK-ELIDE-NOTREE: virtual function 'foo' has a different return type
820820
virtual X<IntWrapper, 2> foo();

0 commit comments

Comments
 (0)