Have a single enum for "not a bitcode" error.

This is more convenient for callers. No functionality change, this will
be used in a next patch to the gold plugin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214218 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-07-29 21:01:24 +00:00
parent 8b891ea63e
commit 63252a0aa3
2 changed files with 3 additions and 10 deletions

View File

@ -142,7 +142,6 @@ namespace llvm {
const std::error_category &BitcodeErrorCategory();
enum class BitcodeError {
BitcodeStreamInvalidSize,
ConflictingMETADATA_KINDRecords,
CouldNotFindFunctionInStream,
ExpectedConstant,