mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Remove unused and odd code.
This code was never being used and any use of it would look fairly strange. For example, it would try to map a object_error::parse_failed to std::errc::invalid_argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -52,12 +52,6 @@ class InstrProfErrorCategoryType : public std::error_category {
|
||||
}
|
||||
llvm_unreachable("A value of instrprof_error has no message.");
|
||||
}
|
||||
std::error_condition
|
||||
default_error_condition(int EV) const LLVM_NOEXCEPT override {
|
||||
if (static_cast<instrprof_error>(EV) == instrprof_error::success)
|
||||
return std::error_condition();
|
||||
return std::errc::invalid_argument;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user