[llvm] r226579 - Revert "IR: Specify underlying type instead of r226570, NFC"
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Jan 20 09:04:57 PST 2015
Author: dexonsmith
Date: Tue Jan 20 11:04:56 2015
New Revision: 226579
URL: http://llvm.org/viewvc/llvm-project?rev=226579&view=rev
Log:
Revert "IR: Specify underlying type instead of r226570, NFC"
This reverts commit r226571. GCC really doesn't like it [1].
[1]: http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/20260
Modified:
llvm/trunk/include/llvm/IR/Metadata.h
Modified: llvm/trunk/include/llvm/IR/Metadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Metadata.h?rev=226579&r1=226578&r2=226579&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Metadata.h (original)
+++ llvm/trunk/include/llvm/IR/Metadata.h Tue Jan 20 11:04:56 2015
@@ -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;
More information about the llvm-commits
mailing list