From: Rafael Espindola Date: Mon, 5 Oct 2015 11:49:35 +0000 (+0000) Subject: Use llvm::errc instead of std::errc. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe9376151b135ba36e6294e5819de74d82dcf5b9;p=clang Use llvm::errc instead of std::errc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249302 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index cdf29ec3c4..740524ce2c 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -641,7 +641,7 @@ std::unique_ptr 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; }