summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-11-29 23:35:49 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-11-29 23:35:49 +0000
commitb775d0b3ad1dccb512e76c2bfc15876eaa660ddb (patch)
treeb69bfa7665e0ee9cd21bf0d6a2a28dae55c47be4
parentb682b0cd1405dac99180a203d67b60efb94b53c6 (diff)
downloadbcm5719-llvm-b775d0b3ad1dccb512e76c2bfc15876eaa660ddb.tar.gz
bcm5719-llvm-b775d0b3ad1dccb512e76c2bfc15876eaa660ddb.zip
Support/PathV2: Fix 80 col.
llvm-svn: 120349
-rw-r--r--llvm/unittests/Support/Path.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 8be45de76b5..2c7c3cba9e6 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -73,15 +73,19 @@ TEST(Support, Path) {
StringRef res;
SmallString<16> temp_store;
- if (error_code ec = sys::path::root_path(*i, res)) ASSERT_FALSE(ec.message().c_str());
+ if (error_code ec = sys::path::root_path(*i, res))
+ ASSERT_FALSE(ec.message().c_str());
outs() << " root_path: " << res << '\n';
- if (error_code ec = sys::path::root_name(*i, res)) ASSERT_FALSE(ec.message().c_str());
+ if (error_code ec = sys::path::root_name(*i, res))
+ ASSERT_FALSE(ec.message().c_str());
outs() << " root_name: " << res << '\n';
- if (error_code ec = sys::path::root_directory(*i, res)) ASSERT_FALSE(ec.message().c_str());
+ if (error_code ec = sys::path::root_directory(*i, res))
+ ASSERT_FALSE(ec.message().c_str());
outs() << " root_directory: " << res << '\n';
temp_store = *i;
- if (error_code ec = sys::path::make_absolute(temp_store)) ASSERT_FALSE(ec.message().c_str());
+ if (error_code ec = sys::path::make_absolute(temp_store))
+ ASSERT_FALSE(ec.message().c_str());
outs() << " make_absolute: " << temp_store << '\n';
outs().flush();
OpenPOWER on IntegriCloud