We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b02e783 commit ee4e08bCopy full SHA for ee4e08b
clang/lib/Frontend/CompilerInstance.cpp
@@ -641,7 +641,7 @@ std::unique_ptr<llvm::raw_pwrite_stream> CompilerInstance::createOutputFile(
641
if (llvm::sys::fs::exists(Status)) {
642
// Fail early if we can't write to the final destination.
643
if (!llvm::sys::fs::can_write(OutputPath)) {
644
- Error = std::make_error_code(std::errc::operation_not_permitted);
+ Error = make_error_code(llvm::errc::operation_not_permitted);
645
return nullptr;
646
}
647
0 commit comments