Use llvm::errc instead of std::errc.

llvm-svn: 249302
This commit is contained in:
Rafael Espindola 2015-10-05 11:49:35 +00:00
parent b02e7835c5
commit ee4e08ba94
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ std::unique_ptr<llvm::raw_pwrite_stream> CompilerInstance::createOutputFile(
if (llvm::sys::fs::exists(Status)) {
// Fail early if we can't write to the final destination.
if (!llvm::sys::fs::can_write(OutputPath)) {
Error = std::make_error_code(std::errc::operation_not_permitted);
Error = make_error_code(llvm::errc::operation_not_permitted);
return nullptr;
}