Fixing whitespace problems

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111765 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2010-08-22 00:50:25 +00:00
parent 6e0a1f458e
commit f11ea14460
12 changed files with 10 additions and 18 deletions

View File

@ -501,5 +501,5 @@ int main()
assert(!l3.locked());
}
}
#endif
#endif // _LIBCPP_HAS_NO_VARIADICS
}

View File

@ -69,8 +69,6 @@ public:
bool locked() const {return locked_;}
};
int main()
{
{
@ -512,5 +510,5 @@ int main()
assert(!l2.locked());
assert(!l3.locked());
}
#endif
#endif // _LIBCPP_HAS_NO_VARIADICS
}

View File

@ -29,5 +29,5 @@ int main()
assert(lk1.owns_lock() == true);
assert(lk0.mutex() == nullptr);
assert(lk0.owns_lock() == false);
#endif
#endif // _LIBCPP_MOVE
}

View File

@ -27,5 +27,5 @@ int main()
assert(lk.owns_lock() == true);
assert(lk0.mutex() == nullptr);
assert(lk0.owns_lock() == false);
#endif
#endif // _LIBCPP_MOVE
}

View File

@ -16,8 +16,6 @@
#include <mutex>
#include <cassert>
int main()
{
std::mutex m;

View File

@ -16,8 +16,6 @@
#include <mutex>
#include <cassert>
int main()
{
std::mutex m;

View File

@ -12,7 +12,7 @@
// struct defer_lock_t {};
// struct try_to_lock_t {};
// struct adopt_lock_t {};
//
//
// constexpr defer_lock_t defer_lock{};
// constexpr try_to_lock_t try_to_lock{};
// constexpr adopt_lock_t adopt_lock{};

View File

@ -95,7 +95,7 @@ void f2()
std::call_once(flg2, init2(), 4, 5);
}
#endif
#endif // _LIBCPP_HAS_NO_VARIADICS
std::once_flag flg41;
std::once_flag flg42;
@ -129,7 +129,6 @@ void f42()
std::call_once(flg41, init41);
}
int main()
{
// check basic functionality
@ -175,5 +174,5 @@ int main()
t1.join();
assert(init2::called == 5);
}
#endif
#endif // _LIBCPP_HAS_NO_VARIADICS
}

View File

@ -78,5 +78,5 @@ int main()
t0 = std::move(t1);
assert(false);
}
#endif
#endif // _LIBCPP_MOVE
}

View File

@ -126,5 +126,5 @@ int main()
assert(G::n_alive == 0);
assert(G::op_run);
}
#endif
#endif // _LIBCPP_HAS_NO_VARIADICS
}

View File

@ -64,5 +64,5 @@ int main()
assert(G::n_alive == 0);
assert(G::op_run);
}
#endif
#endif // _LIBCPP_MOVE
}

View File

@ -18,7 +18,6 @@
#include <cstdlib>
#include <cassert>
class G
{
int alive_;