summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/test_guard.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-06-07 19:56:49 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-06-07 19:56:49 +0000
commit575498b52f939b5202e1e786cd3fbcc14251f7ec (patch)
tree12f918ba4013fdf8c7c6f2b46759ee305a218dd7 /libcxxabi/test/test_guard.cpp
parent41956cf6e3c6d593b52432784cb2b138899e15da (diff)
downloadbcm5719-llvm-575498b52f939b5202e1e786cd3fbcc14251f7ec.tar.gz
bcm5719-llvm-575498b52f939b5202e1e786cd3fbcc14251f7ec.zip
tabs to spaces
llvm-svn: 132729
Diffstat (limited to 'libcxxabi/test/test_guard.cpp')
-rw-r--r--libcxxabi/test/test_guard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxxabi/test/test_guard.cpp b/libcxxabi/test/test_guard.cpp
index d31e57798e0..96af56a7be1 100644
--- a/libcxxabi/test/test_guard.cpp
+++ b/libcxxabi/test/test_guard.cpp
@@ -78,7 +78,7 @@ namespace test4 {
static int run_count = 0;
int increment() {
++run_count;
- return 0;
+ return 0;
}
void helper() {
@@ -89,7 +89,7 @@ namespace test4 {
std::thread t1(helper), t2(helper);
t1.join();
t2.join();
- assert(run_count == 1);
+ assert(run_count == 1);
}
}
@@ -104,7 +104,7 @@ namespace test5 {
int one() {
static int b = zero();
- return 0;
+ return 0;
}
void another_helper() {
@@ -113,14 +113,14 @@ namespace test5 {
void helper() {
static int a = one();
- std::thread t(another_helper);
- t.join();
+ std::thread t(another_helper);
+ t.join();
}
void test() {
std::thread t(helper);
t.join();
- assert(run_count == 1);
+ assert(run_count == 1);
}
}
OpenPOWER on IntegriCloud