summaryrefslogtreecommitdiff
path: root/unittests/Support/Path.cpp
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
commit1f9864063fedf23805722ff39f763d13f2914702 (patch)
tree7c3c75797d76d6fbdfba82613db1992831200c63 /unittests/Support/Path.cpp
parente6f26e874e0ff32fe429605fded5a2e35e4e7179 (diff)
downloadllvm-1f9864063fedf23805722ff39f763d13f2914702.tar.gz
llvm-1f9864063fedf23805722ff39f763d13f2914702.tar.bz2
llvm-1f9864063fedf23805722ff39f763d13f2914702.tar.xz
Support/PathV2: Fix 80 col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/Path.cpp')
-rw-r--r--unittests/Support/Path.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 8be45de76b..2c7c3cba9e 100644
--- a/unittests/Support/Path.cpp
+++ b/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();