IR: Store StorageType as an unsigned bitfield
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 20 Jan 2015 15:51:14 +0000 (15:51 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 20 Jan 2015 15:51:14 +0000 (15:51 +0000)
commitaafcbcd045616b804215fed757acd89c23d9d921
tree9b40ffe28c2b6283d72f1ca0b8f62706e1061977
parentd9434ef62ffbc1ba4c16437b899f7ceeb63dfa03
IR: Store StorageType as an unsigned bitfield

Use `unsigned` instead of `StorageType` for the bitfield to prevent MSVC
from treating the top bit of the bitfield as a sign bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226570 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h