[llvm-commits] [llvm] r120349 - /llvm/trunk/unittests/Support/Path.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Mon Nov 29 15:35:49 PST 2010
Author: mspencer
Date: Mon Nov 29 17:35:49 2010
New Revision: 120349
URL: http://llvm.org/viewvc/llvm-project?rev=120349&view=rev
Log:
Support/PathV2: Fix 80 col.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=120349&r1=120348&r2=120349&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Mon Nov 29 17:35:49 2010
@@ -73,15 +73,19 @@
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();
More information about the llvm-commits
mailing list