diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-05 11:49:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-05 11:49:35 +0000 |
commit | ee4e08ba94e2ee04ad7ad0e0e396147be417c79f (patch) | |
tree | cf495f430c7fdee5448fff93a9f190b774c4fbd1 | |
parent | b02e7835c569401d3359bf1d9f6b7eb5c979d228 (diff) | |
download | bcm5719-llvm-ee4e08ba94e2ee04ad7ad0e0e396147be417c79f.tar.gz bcm5719-llvm-ee4e08ba94e2ee04ad7ad0e0e396147be417c79f.zip |
Use llvm::errc instead of std::errc.
llvm-svn: 249302
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index cdf29ec3c4e..740524ce2c5 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -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; } |