diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-05 07:55:47 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-05 07:55:47 +0000 |
commit | 3a4779a9211281a1d0c27c97037342329035a185 (patch) | |
tree | 1222d13ea928337dca3f898770b81803a2bf1939 /lib/IR | |
parent | 00ece1b846536cb2ba4efefa6e6194c7030e4c63 (diff) | |
download | external_llvm-3a4779a9211281a1d0c27c97037342329035a185.zip external_llvm-3a4779a9211281a1d0c27c97037342329035a185.tar.gz external_llvm-3a4779a9211281a1d0c27c97037342329035a185.tar.bz2 |
IR/Attributes: Provide EmptyKey and TombstoneKey in part of enum, as workaround for gcc-4.4 take #2.
I will investigate, later, what was wrong. I am too tired for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171611 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/Attributes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp index 84f90ad..039e036 100644 --- a/lib/IR/Attributes.cpp +++ b/lib/IR/Attributes.cpp @@ -426,6 +426,8 @@ uint64_t AttributeImpl::getBitMask() const { uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) { switch (Val) { case Attribute::EndAttrKinds: break; + case Attribute::EmptyKey: break; + case Attribute::TombstoneKey: break; case Attribute::None: return 0; case Attribute::ZExt: return 1 << 0; case Attribute::SExt: return 1 << 1; |