mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-10 16:24:04 +00:00
Support/PathV2: Fix 80 col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6f26e874e
commit
1f9864063f
@ -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