diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-08 21:35:52 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-08 21:35:52 +0000 |
commit | 7e774c249f3435d005f9d8e1405e088acc18b4bb (patch) | |
tree | 011caed978c5db15bb20a549a80dcbde7899de23 /llvm/unittests/Support/Path.cpp | |
parent | f60022375490c11834e74670b966ff88f7af4582 (diff) | |
download | llvm-7e774c249f3435d005f9d8e1405e088acc18b4bb.zip llvm-7e774c249f3435d005f9d8e1405e088acc18b4bb.tar.gz llvm-7e774c249f3435d005f9d8e1405e088acc18b4bb.tar.bz2 |
Remove dead code. Fixes pr20544.
llvm-svn: 215243
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index bb1428f..9c15640 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -640,22 +640,22 @@ TEST(Support, NormalizePath) { SmallString<64> Path5("\\a"); SmallString<64> Path6("a\\"); - ASSERT_NO_ERROR(fs::normalize_separators(Path1)); + path::native(Path1); EXPECT_PATH_IS(Path1, "a", "a"); - ASSERT_NO_ERROR(fs::normalize_separators(Path2)); + path::native(Path2); EXPECT_PATH_IS(Path2, "a/b", "a/b"); - ASSERT_NO_ERROR(fs::normalize_separators(Path3)); + path::native(Path3); EXPECT_PATH_IS(Path3, "a\\b", "a/b"); - ASSERT_NO_ERROR(fs::normalize_separators(Path4)); + path::native(Path4); EXPECT_PATH_IS(Path4, "a\\\\b", "a\\\\b"); - ASSERT_NO_ERROR(fs::normalize_separators(Path5)); + path::native(Path5); EXPECT_PATH_IS(Path5, "\\a", "/a"); - ASSERT_NO_ERROR(fs::normalize_separators(Path6)); + path::native(Path6); EXPECT_PATH_IS(Path6, "a\\", "a/"); #undef EXPECT_PATH_IS |