Skip to content

Commit 67cbee1

Browse files
committed
second pass cpplint fixes in regression/cpp-from-CVS
1 parent e3a0418 commit 67cbee1

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

regression/cpp-from-CVS/Constructor17/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class C
22
{
33
public:
4-
C(int& v):v(v){}
4+
C(int& v):v(v) {}
55
int v;
66
};
77

regression/cpp-from-CVS/Conversion10/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ struct B {
44
explicit B(A&){}
55
};
66

7-
void test(const B& b){}
7+
void test(const B& b) {}
88

99
int main()
1010
{

regression/cpp-from-CVS/Friend6/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct A {
88
class B {
99
int i;
1010
public:
11-
B():i(10){}
11+
B():i(10) {}
1212
friend class A<int>;
1313
};
1414

regression/cpp-from-CVS/Templates20/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ template <>
2424
class B<bool>: A {
2525
public:
2626
bool b;
27-
B():b(true){}
27+
B():b(true) {}
2828
int get_i() {return i;}
2929
private:
3030
B(B<bool>& b); // disabled

regression/cpp-from-CVS/Templates29/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct A
1010
struct B : N::A<int>
1111
{
1212
B(int i): N::A<int>(i) {}
13-
void func(){}
13+
void func() {}
1414
int b;
1515
};
1616

regression/cpp-from-CVS/extractbits1/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ int main()
88
unsigned b32 = b.range(3, 2);
99
assert( a21 == b32);
1010

11-
a.range(4, 3) = a.range(2,1);
12-
assert( a.range(4, 3) == b.range(3,2));
11+
a.range(4, 3) = a.range(2, 1);
12+
assert( a.range(4, 3) == b.range(3, 2));
1313

1414
a[0] = b.range(3, 3);
1515
bool a0 = a[0];

0 commit comments

Comments
 (0)