summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-11-09 01:09:11 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-11-09 01:09:11 +0000
commit7576cb0fa7ad0138ff2d5d12bb896aa42569b232 (patch)
treea416297f8506f9fd31ecbb6fa2ac4595fe8e92d7 /llvm/lib/Bitcode
parent947dbe12543116216b364deebb5b6ea204db3357 (diff)
downloadbcm5719-llvm-7576cb0fa7ad0138ff2d5d12bb896aa42569b232.tar.gz
bcm5719-llvm-7576cb0fa7ad0138ff2d5d12bb896aa42569b232.zip
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. llvm-svn: 286326
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 7a5fb8be2e0..dad56f12e1c 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -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";
}
OpenPOWER on IntegriCloud