Fix enum BitcodeError to not define a zero-valued error code.
authorJan Wen Voung <jvoung@google.com>
Fri, 10 Jul 2015 19:46:16 +0000 (19:46 +0000)
committerJan Wen Voung <jvoung@google.com>
Fri, 10 Jul 2015 19:46:16 +0000 (19:46 +0000)
commita8043e2f8289504cf1268498dbfc3bb8d2273353
treeef3e741378ebc80178bef7e2359d34c3aad25cfe
parent31a4111f5020d84f4416ba18e770eb398c8998e0
Fix enum BitcodeError to not define a zero-valued error code.

Summary:
std::error_code assumes it isn't an error if the error code is zero.

Patch by Karl Schimpf

Reviewers: rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10815

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241933 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/ReaderWriter.h