summaryrefslogtreecommitdiff
path: root/include/llvm/Object/COFFImportFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Object/COFFImportFile.h')
-rw-r--r--include/llvm/Object/COFFImportFile.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Object/COFFImportFile.h b/include/llvm/Object/COFFImportFile.h
index cf9c80a06f49..4b284de679b3 100644
--- a/include/llvm/Object/COFFImportFile.h
+++ b/include/llvm/Object/COFFImportFile.h
@@ -96,11 +96,9 @@ struct COFFShortExport {
}
};
-std::error_code writeImportLibrary(StringRef ImportName,
- StringRef Path,
- ArrayRef<COFFShortExport> Exports,
- COFF::MachineTypes Machine,
- bool MakeWeakAliases);
+Error writeImportLibrary(StringRef ImportName, StringRef Path,
+ ArrayRef<COFFShortExport> Exports,
+ COFF::MachineTypes Machine, bool MakeWeakAliases);
} // namespace object
} // namespace llvm