second pass cpplint fixes in regression/cpp-from-CVS
This commit is contained in:
parent
e3a0418f76
commit
67cbee1aac
|
@ -1,7 +1,7 @@
|
|||
class C
|
||||
{
|
||||
public:
|
||||
C(int& v):v(v){}
|
||||
C(int& v):v(v) {}
|
||||
int v;
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ struct B {
|
|||
explicit B(A&){}
|
||||
};
|
||||
|
||||
void test(const B& b){}
|
||||
void test(const B& b) {}
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ struct A {
|
|||
class B {
|
||||
int i;
|
||||
public:
|
||||
B():i(10){}
|
||||
B():i(10) {}
|
||||
friend class A<int>;
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,7 +10,7 @@ struct A
|
|||
struct B : N::A<int>
|
||||
{
|
||||
B(int i): N::A<int>(i) {}
|
||||
void func(){}
|
||||
void func() {}
|
||||
int b;
|
||||
};
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue