[llvm] r209964 - really fix the windows build.
Rafael Espindola
rafael.espindola at gmail.com
Fri May 30 20:40:01 PDT 2014
Author: rafael
Date: Fri May 30 22:40:00 2014
New Revision: 209964
URL: http://llvm.org/viewvc/llvm-project?rev=209964&view=rev
Log:
really fix the windows build.
Modified:
llvm/trunk/utils/KillTheDoctor/KillTheDoctor.cpp
Modified: llvm/trunk/utils/KillTheDoctor/KillTheDoctor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/KillTheDoctor/KillTheDoctor.cpp?rev=209964&r1=209963&r2=209964&view=diff
==============================================================================
--- llvm/trunk/utils/KillTheDoctor/KillTheDoctor.cpp (original)
+++ llvm/trunk/utils/KillTheDoctor/KillTheDoctor.cpp Fri May 30 22:40:00 2014
@@ -210,7 +210,7 @@ static error_code GetFileNameFromHandle(
return windows_error(::GetLastError());
else {
Name = Filename;
- return windows_error::success;
+ return error_code();
}
}
@@ -249,7 +249,7 @@ static std::string FindProgram(const std
break;
} else {
// We found the path! Return it.
- ec = windows_error::success;
+ ec = error_code();
break;
}
}
More information about the llvm-commits
mailing list