mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Support/PathV2: Fix 80 col.
llvm-svn: 120349
This commit is contained in:
parent
b3027299d1
commit
b285e634a8
@ -73,15 +73,19 @@ TEST(Support, Path) {
|
|||||||
|
|
||||||
StringRef res;
|
StringRef res;
|
||||||
SmallString<16> temp_store;
|
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';
|
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';
|
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';
|
outs() << " root_directory: " << res << '\n';
|
||||||
|
|
||||||
temp_store = *i;
|
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() << " make_absolute: " << temp_store << '\n';
|
||||||
|
|
||||||
outs().flush();
|
outs().flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user