diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-05 16:38:57 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-05 16:38:57 +0000 |
commit | da7c1cab8c083e3370cc94a23bc396cd75b7f2a7 (patch) | |
tree | 03e4103317d2865cbafaf28580957e9e08496856 /unittests/Support/Path.cpp | |
parent | 1901925b783f4ef0ee5b6bbb3faeea6813b00ee2 (diff) | |
download | external_llvm-da7c1cab8c083e3370cc94a23bc396cd75b7f2a7.zip external_llvm-da7c1cab8c083e3370cc94a23bc396cd75b7f2a7.tar.gz external_llvm-da7c1cab8c083e3370cc94a23bc396cd75b7f2a7.tar.bz2 |
Support/PathV2: Implement directory iteration on POSIX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122879 91177308-0d34-0410-b5e6-96231b3b80d8
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 e958c1f..a4fb518 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 |