Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit c4630f9

Browse files
committed
[Support] Make the SystemZ bot happy by using make_error_code.
This should fix the last issue on the SystemZ bot related to the broken symlink test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297767 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent bea559b commit c4630f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unittests/Support/Path.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,8 @@ TEST_F(FileSystemTest, BrokenSymlinkDirectoryIteration) {
825825
ASSERT_NO_ERROR(ec);
826826

827827
fs::file_status status;
828-
if (i->status(status) == std::errc::no_such_file_or_directory) {
828+
if (i->status(status) ==
829+
std::make_error_code(std::errc::no_such_file_or_directory)) {
829830
i.no_push();
830831
continue;
831832
}

0 commit comments

Comments
 (0)