diff options
Diffstat (limited to 'unittests/Support/Path.cpp')
-rw-r--r-- | unittests/Support/Path.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index e958c1f4da..a4fb518255 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -176,8 +176,6 @@ TEST(Support, Path) { ASSERT_NO_ERROR(fs::exists(Twine(TempPath), TempFileExists)); EXPECT_FALSE(TempFileExists); - // I've yet to do directory iteration on Unix. -#ifdef LLVM_ON_WIN32 error_code ec; for (fs::directory_iterator i(".", ec), e; i != e; i.increment(ec)) { if (ec) { @@ -186,7 +184,6 @@ TEST(Support, Path) { report_fatal_error("Directory iteration failed!"); } } -#endif } } // anonymous namespace |