second pass cpplint fixes in regression/cpp-from-CVS

This commit is contained in:
Robert (Jamie) Munro 2017-02-20 11:48:16 +00:00
parent e3a0418f76
commit 67cbee1aac
6 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
class C
{
public:
C(int& v):v(v){}
C(int& v):v(v) {}
int v;
};

View File

@ -4,7 +4,7 @@ struct B {
explicit B(A&){}
};
void test(const B& b){}
void test(const B& b) {}
int main()
{

View File

@ -8,7 +8,7 @@ struct A {
class B {
int i;
public:
B():i(10){}
B():i(10) {}
friend class A<int>;
};

View File

@ -24,7 +24,7 @@ template <>
class B<bool>: A {
public:
bool b;
B():b(true){}
B():b(true) {}
int get_i() {return i;}
private:
B(B<bool>& b); // disabled

View File

@ -10,7 +10,7 @@ struct A
struct B : N::A<int>
{
B(int i): N::A<int>(i) {}
void func(){}
void func() {}
int b;
};

View File

@ -8,8 +8,8 @@ int main()
unsigned b32 = b.range(3, 2);
assert( a21 == b32);
a.range(4, 3) = a.range(2,1);
assert( a.range(4, 3) == b.range(3,2));
a.range(4, 3) = a.range(2, 1);
assert( a.range(4, 3) == b.range(3, 2));
a[0] = b.range(3, 3);
bool a0 = a[0];