summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-20 16:03:09 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-20 16:03:09 +0000
commit9ebd858f6c8d20ec9f67017b761c2453298e794f (patch)
tree4f634211a1f444186a1267ab900d09760c12a75b /llvm
parent7e80640aa1deb8ac6bc0fb127cd25022cbcd80a9 (diff)
downloadbcm5719-llvm-9ebd858f6c8d20ec9f67017b761c2453298e794f.tar.gz
bcm5719-llvm-9ebd858f6c8d20ec9f67017b761c2453298e794f.zip
IR: Specify underlying type instead of r226570, NFC
llvm-svn: 226571
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/IR/Metadata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/Metadata.h b/llvm/include/llvm/IR/Metadata.h
index 5590bc54881..8c2e78ad4b1 100644
--- a/llvm/include/llvm/IR/Metadata.h
+++ b/llvm/include/llvm/IR/Metadata.h
@@ -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;
OpenPOWER on IntegriCloud