mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-15 15:33:56 +00:00
Delete dead code.
llvm-svn: 262653
This commit is contained in:
parent
430d8ecc55
commit
ec9957bd0b
@ -54,11 +54,6 @@ void fatal(const Twine &Msg, const Twine &Prefix) {
|
||||
fatal(Prefix + ": " + Msg);
|
||||
}
|
||||
|
||||
void fatal(std::error_code EC, const Twine &Prefix) {
|
||||
if (EC)
|
||||
fatal(Prefix + ": " + EC.message());
|
||||
}
|
||||
|
||||
void fatal(std::error_code EC) {
|
||||
if (EC)
|
||||
fatal(EC.message());
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user