summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Error.h')
-rw-r--r--lld/ELF/Error.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/Error.h b/lld/ELF/Error.h
index fb9049eb084..4416b622c29 100644
--- a/lld/ELF/Error.h
+++ b/lld/ELF/Error.h
@@ -39,7 +39,6 @@ template <typename T> bool error(const ErrorOr<T> &V) {
LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &Msg);
LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &Msg, const Twine &Prefix);
-void fatal(std::error_code EC, const Twine &Prefix);
void fatal(std::error_code EC);
template <class T> T fatal(ErrorOr<T> EO) {
OpenPOWER on IntegriCloud