Revert "IR: Specify underlying type instead of r226570, NFC"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 20 Jan 2015 17:04:56 +0000 (17:04 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 20 Jan 2015 17:04:56 +0000 (17:04 +0000)
This reverts commit r226571.  GCC really doesn't like it [1].

[1]: http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/20260

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226579 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Metadata.h

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