diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-06-07 19:56:49 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-06-07 19:56:49 +0000 |
| commit | 575498b52f939b5202e1e786cd3fbcc14251f7ec (patch) | |
| tree | 12f918ba4013fdf8c7c6f2b46759ee305a218dd7 /libcxxabi/test/test_guard.cpp | |
| parent | 41956cf6e3c6d593b52432784cb2b138899e15da (diff) | |
| download | bcm5719-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.cpp | 12 |
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); } } |

