From: Rafael Espindola Date: Sat, 31 May 2014 03:40:00 +0000 (+0000) Subject: really fix the windows build. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9ffe3aeb9b644230af0a32fbb108b6d858f9627;p=platform%2Fupstream%2Fllvm.git really fix the windows build. llvm-svn: 209964 --- diff --git a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp index feba2e5..a0d314b 100644 --- a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp +++ b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp @@ -210,7 +210,7 @@ static error_code GetFileNameFromHandle(HANDLE FileHandle, return windows_error(::GetLastError()); else { Name = Filename; - return windows_error::success; + return error_code(); } } @@ -249,7 +249,7 @@ static std::string FindProgram(const std::string &Program, error_code &ec) { break; } else { // We found the path! Return it. - ec = windows_error::success; + ec = error_code(); break; } }