projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc29a5
)
Remove dead code.
author
Rui Ueyama
<ruiu@google.com>
Sat, 12 Nov 2016 01:32:34 +0000
(
01:32
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Sat, 12 Nov 2016 01:32:34 +0000
(
01:32
+0000)
llvm-svn: 286698
lld/ELF/Error.h
patch
|
blob
|
history
diff --git
a/lld/ELF/Error.h
b/lld/ELF/Error.h
index
5776d83
..
8b6c465
100644
(file)
--- a/
lld/ELF/Error.h
+++ b/
lld/ELF/Error.h
@@
-41,10
+41,6
@@
void warn(const Twine &Msg);
void error(const Twine &Msg);
void error(std::error_code EC, const Twine &Prefix);
-template <typename T> void error(const ErrorOr<T> &V, const Twine &Prefix) {
- error(V.getError(), Prefix);
-}
-
LLVM_ATTRIBUTE_NORETURN void exitLld(int Val);
LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &Msg);
LLVM_ATTRIBUTE_NORETURN void fatal(std::error_code EC, const Twine &Prefix);