[cfe-commits] [libcxx] r111765 - in /libcxx/trunk/test/thread: thread.mutex/thread.lock.algorithm/ thread.mutex/thread.lock/ thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ thread.mutex/thread.once/thread.once.callonce/ thread.threads/thread.thread.class/thread.thread.assign/ thread.threads/thread.thread.class/thread.thread.constr/ thread.threads/thread.thread.class/thread.thread.destr/
Howard Hinnant
hhinnant at apple.com
Sat Aug 21 17:50:25 PDT 2010
Author: hhinnant
Date: Sat Aug 21 19:50:25 2010
New Revision: 111765
URL: http://llvm.org/viewvc/llvm-project?rev=111765&view=rev
Log:
Fixing whitespace problems
Modified:
libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock/types.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp
libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/lock.pass.cpp Sat Aug 21 19:50:25 2010
@@ -501,5 +501,5 @@
assert(!l3.locked());
}
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
}
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp Sat Aug 21 19:50:25 2010
@@ -69,8 +69,6 @@
bool locked() const {return locked_;}
};
-
-
int main()
{
{
@@ -512,5 +510,5 @@
assert(!l2.locked());
assert(!l3.locked());
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
}
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp Sat Aug 21 19:50:25 2010
@@ -29,5 +29,5 @@
assert(lk1.owns_lock() == true);
assert(lk0.mutex() == nullptr);
assert(lk0.owns_lock() == false);
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp Sat Aug 21 19:50:25 2010
@@ -27,5 +27,5 @@
assert(lk.owns_lock() == true);
assert(lk0.mutex() == nullptr);
assert(lk0.owns_lock() == false);
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp Sat Aug 21 19:50:25 2010
@@ -16,8 +16,6 @@
#include <mutex>
#include <cassert>
-
-
int main()
{
std::mutex m;
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp Sat Aug 21 19:50:25 2010
@@ -16,8 +16,6 @@
#include <mutex>
#include <cassert>
-
-
int main()
{
std::mutex m;
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock/types.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock/types.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock/types.pass.cpp Sat Aug 21 19:50:25 2010
@@ -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{};
Modified: libcxx/trunk/test/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp Sat Aug 21 19:50:25 2010
@@ -95,7 +95,7 @@
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 @@
std::call_once(flg41, init41);
}
-
int main()
{
// check basic functionality
@@ -175,5 +174,5 @@
t1.join();
assert(init2::called == 5);
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
}
Modified: libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp Sat Aug 21 19:50:25 2010
@@ -78,5 +78,5 @@
t0 = std::move(t1);
assert(false);
}
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp Sat Aug 21 19:50:25 2010
@@ -126,5 +126,5 @@
assert(G::n_alive == 0);
assert(G::op_run);
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
}
Modified: libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp Sat Aug 21 19:50:25 2010
@@ -64,5 +64,5 @@
assert(G::n_alive == 0);
assert(G::op_run);
}
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp?rev=111765&r1=111764&r2=111765&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp Sat Aug 21 19:50:25 2010
@@ -18,7 +18,6 @@
#include <cstdlib>
#include <cassert>
-
class G
{
int alive_;
More information about the cfe-commits
mailing list