Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
256813f4e7
commit
712522cfd8
@ -248,4 +248,4 @@ operator-(const random_access_iterator<T>& x, const random_access_iterator<U>& y
|
|||||||
return x.base() - y.base();
|
return x.base() - y.base();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // ITERATORS_H
|
||||||
|
@ -32,7 +32,7 @@ test(C c)
|
|||||||
assert(c.back() == typename C::value_type());
|
assert(c.back() == typename C::value_type());
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@ test(C c)
|
|||||||
assert(c.front() == typename C::value_type());
|
assert(c.front() == typename C::value_type());
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@ struct do_nothing
|
|||||||
void operator()(void*) const {}
|
void operator()(void*) const {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@ -91,5 +91,5 @@ int main()
|
|||||||
c2.push_back(Ptr(x+i));
|
c2.push_back(Ptr(x+i));
|
||||||
insert3at(c2, c2.begin()+3, Ptr(x+3), Ptr(x+4), Ptr(x+5));
|
insert3at(c2, c2.begin()+3, Ptr(x+3), Ptr(x+4), Ptr(x+5));
|
||||||
test(std::move(c1), 3, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);
|
test(std::move(c1), 3, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2);
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ struct do_nothing
|
|||||||
void operator()(void*) const {}
|
void operator()(void*) const {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@ -54,5 +54,5 @@ int main()
|
|||||||
for (unsigned j = 0; j < 5; ++j)
|
for (unsigned j = 0; j < 5; ++j)
|
||||||
p[j].reset(i+j);
|
p[j].reset(i+j);
|
||||||
test(p, 3, Ptr(i+3));
|
test(p, 3, Ptr(i+3));
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ struct do_nothing
|
|||||||
void operator()(void*) const {}
|
void operator()(void*) const {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@ -57,5 +57,5 @@ int main()
|
|||||||
int i;
|
int i;
|
||||||
std::unique_ptr<int, do_nothing> p(&i);
|
std::unique_ptr<int, do_nothing> p(&i);
|
||||||
test(&p, std::unique_ptr<int, do_nothing>(&i));
|
test(&p, std::unique_ptr<int, do_nothing>(&i));
|
||||||
#endif
|
#endif // _LIBCPP_MOVE
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user