mirror of
https://github.com/RPCSX/llvm.git
synced 2026-01-31 01:05:23 +01:00
Bitcode: Remove the remnants of the BitcodeDiagnosticInfo class.
The BitcodeReader no longer produces BitcodeDiagnosticInfo diagnostics. The only remaining reference was in the gold plugin; the code there has been dead since we stopped producing InvalidBitcodeSignature error codes in r225562. While at it remove the InvalidBitcodeSignature error code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6621,8 +6621,6 @@ class BitcodeErrorCategoryType : public std::error_category {
|
||||
std::string message(int IE) const override {
|
||||
BitcodeError E = static_cast<BitcodeError>(IE);
|
||||
switch (E) {
|
||||
case BitcodeError::InvalidBitcodeSignature:
|
||||
return "Invalid bitcode signature";
|
||||
case BitcodeError::CorruptedBitcode:
|
||||
return "Corrupted bitcode";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user