IR: Specify underlying type instead of r226570, NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2015-01-20 16:03:09 +00:00
parent aafcbcd045
commit c7fa62b126

View File

@ -48,10 +48,10 @@ class Metadata {
protected:
/// \brief Active type of storage.
enum StorageType { Uniqued, Distinct, Temporary };
enum StorageType : unsigned char { Uniqued, Distinct, Temporary };
/// \brief Storage flag for non-uniqued, otherwise unowned, metadata.
unsigned Storage : 2;
StorageType Storage : 2;
// TODO: expose remaining bits to subclasses.
unsigned short SubclassData16;