Whitespace maintenance. Remove a bunch of tabs that snuck in. No functionality change
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@220142 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -103,13 +103,13 @@ struct Foo { int x; };
|
||||
|
||||
int main()
|
||||
{
|
||||
test_pointer<std::scoped_allocator_adaptor<std::allocator<char>>> ();
|
||||
test_pointer<std::scoped_allocator_adaptor<std::allocator<int>>> ();
|
||||
test_pointer<std::scoped_allocator_adaptor<std::allocator<Foo>>> ();
|
||||
test_pointer<std::scoped_allocator_adaptor<std::allocator<char>>> ();
|
||||
test_pointer<std::scoped_allocator_adaptor<std::allocator<int>>> ();
|
||||
test_pointer<std::scoped_allocator_adaptor<std::allocator<Foo>>> ();
|
||||
|
||||
test_void_pointer<std::scoped_allocator_adaptor<std::allocator<char>>> ();
|
||||
test_void_pointer<std::scoped_allocator_adaptor<std::allocator<int>>> ();
|
||||
test_void_pointer<std::scoped_allocator_adaptor<std::allocator<Foo>>> ();
|
||||
test_void_pointer<std::scoped_allocator_adaptor<std::allocator<char>>> ();
|
||||
test_void_pointer<std::scoped_allocator_adaptor<std::allocator<int>>> ();
|
||||
test_void_pointer<std::scoped_allocator_adaptor<std::allocator<Foo>>> ();
|
||||
}
|
||||
#else
|
||||
int main() {}
|
||||
|
@@ -35,9 +35,9 @@ int main()
|
||||
unary_counting_predicate<bool(*)(int), int> cp(is5);
|
||||
assert(!cp(6));
|
||||
assert(cp.count() == 1);
|
||||
assert(call_pred(cp));
|
||||
assert(call_pred(cp));
|
||||
assert(cp.count() == 1);
|
||||
assert(call_pred(std::ref(cp)));
|
||||
assert(call_pred(std::ref(cp)));
|
||||
assert(cp.count() == 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -103,13 +103,13 @@ struct Foo { int x; };
|
||||
|
||||
int main()
|
||||
{
|
||||
test_pointer<std::allocator<char>> ();
|
||||
test_pointer<std::allocator<int>> ();
|
||||
test_pointer<std::allocator<Foo>> ();
|
||||
test_pointer<std::allocator<char>> ();
|
||||
test_pointer<std::allocator<int>> ();
|
||||
test_pointer<std::allocator<Foo>> ();
|
||||
|
||||
test_void_pointer<std::allocator<char>> ();
|
||||
test_void_pointer<std::allocator<int>> ();
|
||||
test_void_pointer<std::allocator<Foo>> ();
|
||||
test_void_pointer<std::allocator<char>> ();
|
||||
test_void_pointer<std::allocator<int>> ();
|
||||
test_void_pointer<std::allocator<Foo>> ();
|
||||
}
|
||||
#else
|
||||
int main() {}
|
||||
|
@@ -39,7 +39,7 @@ int main()
|
||||
test_alignment_of<int, 4>();
|
||||
test_alignment_of<double, 8>();
|
||||
#if (defined(__ppc__) && !defined(__ppc64__))
|
||||
test_alignment_of<bool, 4>(); // 32-bit PPC has four byte bool
|
||||
test_alignment_of<bool, 4>(); // 32-bit PPC has four byte bool
|
||||
#else
|
||||
test_alignment_of<bool, 1>();
|
||||
#endif
|
||||
|
@@ -10,7 +10,7 @@
|
||||
// type_traits
|
||||
|
||||
// nullptr_t
|
||||
// is_null_pointer
|
||||
// is_null_pointer
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
int main()
|
||||
{
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
using std::experimental::optional;
|
||||
using std::experimental::optional;
|
||||
|
||||
{
|
||||
typedef int T;
|
||||
|
@@ -18,9 +18,9 @@
|
||||
int main()
|
||||
{
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
using std::experimental::optional;
|
||||
using std::experimental::nullopt_t;
|
||||
using std::experimental::nullopt;
|
||||
using std::experimental::optional;
|
||||
using std::experimental::nullopt_t;
|
||||
using std::experimental::nullopt;
|
||||
|
||||
{
|
||||
typedef int T;
|
||||
|
@@ -18,9 +18,9 @@
|
||||
int main()
|
||||
{
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
using std::experimental::optional;
|
||||
using std::experimental::nullopt_t;
|
||||
using std::experimental::nullopt;
|
||||
using std::experimental::optional;
|
||||
using std::experimental::nullopt_t;
|
||||
using std::experimental::nullopt;
|
||||
|
||||
{
|
||||
typedef int T;
|
||||
|
@@ -16,7 +16,7 @@
|
||||
int main()
|
||||
{
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
using std::experimental::optional;
|
||||
using std::experimental::optional;
|
||||
|
||||
optional<const void> opt;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user