Skip to content

Commit ee4e08b

Browse files
committed
Use llvm::errc instead of std::errc.
llvm-svn: 249302
1 parent b02e783 commit ee4e08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Frontend/CompilerInstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ std::unique_ptr<llvm::raw_pwrite_stream> CompilerInstance::createOutputFile(
641641
if (llvm::sys::fs::exists(Status)) {
642642
// Fail early if we can't write to the final destination.
643643
if (!llvm::sys::fs::can_write(OutputPath)) {
644-
Error = std::make_error_code(std::errc::operation_not_permitted);
644+
Error = make_error_code(llvm::errc::operation_not_permitted);
645645
return nullptr;
646646
}
647647

0 commit comments

Comments
 (0)