Skip to content

Commit 4fc7a46

Browse files
committed
Now with whitespace added back
1 parent 22fc4d8 commit 4fc7a46

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

clang/test/CXX/drs/cwg1xx.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ namespace example3 {
634634
struct Base {
635635
private:
636636
static const int i = 10; // #cwg138-ex3-Base-i
637-
637+
638638
public:
639639
struct Data;
640640
// Elaborated type specifier is not the sole constituent of declaration,
@@ -648,7 +648,7 @@ struct Base {
648648
};
649649
};
650650
struct Data {
651-
void f() {
651+
void f() {
652652
int i2 = Base::i;
653653
// expected-error@-1 {{'i' is a private member of 'cwg138::example3::Base'}}
654654
// expected-note@#cwg138-ex3-Base-i {{declared private here}}

clang/test/Parser/recovery.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -fblocks %s
22

33
// PR2241
4-
float test2241[2] = {
4+
float test2241[2] = {
55
1e, // expected-error {{exponent}}
66
1ee0 // expected-error {{exponent}}
77
};
@@ -21,17 +21,17 @@ static void f (char * (*g) (char **, int), char **p, ...) {
2121

2222
void test(int a) {
2323
struct { int i; } x;
24-
24+
2525
if (x.hello) // expected-error {{no member named 'hello'}}
2626
test(0);
2727
else
2828
;
29-
29+
3030
if (x.hello == 0) // expected-error {{no member named 'hello'}}
3131
test(0);
3232
else
3333
;
34-
34+
3535
if ((x.hello == 0)) // expected-error {{no member named 'hello'}}
3636
test(0);
3737
else
@@ -60,7 +60,7 @@ struct S A = {
6060
&BADIDENT, 0 /* expected-error {{use of undeclared identifier}} */
6161
};
6262

63-
void test6248081(void) {
63+
void test6248081(void) {
6464
[10] // expected-error {{expected expression}}
6565
}
6666

clang/test/Parser/switch-recovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct B {
77
default:
88
return;
99
}
10-
10+
1111
switch (b) {
1212
case 17 // expected-error{{expected ':' after 'case'}}
1313
break;

clang/test/SemaCXX/arrow-operator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify %s
2-
struct T {
2+
struct T {
33
void f();
44
};
55

clang/test/SemaCXX/destructor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct D {
5858

5959
struct D2 {
6060
void ~D2() { } // \
61-
// expected-error{{destructor cannot have a return type}}
61+
// expected-error{{destructor cannot have a return type}}
6262
};
6363

6464

@@ -86,7 +86,7 @@ struct G {
8686
G::~G() { }
8787

8888
struct H {
89-
~H(void) { }
89+
~H(void) { }
9090
};
9191

9292
struct X {};
@@ -103,7 +103,7 @@ namespace PR6421 {
103103
template<typename U>
104104
void foo(T t) // expected-error{{variable has incomplete type}}
105105
{ }
106-
106+
107107
void disconnect()
108108
{
109109
T* t;
@@ -364,7 +364,7 @@ struct __is_destructor_wellformed {
364364
decltype(_Tp1().~_Tp1())>::type);
365365
template <typename _Tp1>
366366
static __two __test (...);
367-
367+
368368
static const bool value = sizeof(__test<_Tp>(12)) == sizeof(char);
369369
};
370370

0 commit comments

Comments
 (0)