summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/PointerIntPair.h
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-03-02 03:20:38 +0000
committerAlp Toker <alp@nuanti.com>2014-03-02 03:20:38 +0000
commit18510b7e431b5e8050f546edea904dcb43f46a48 (patch)
tree5283b7976797e827fb33b83b18a785d5ef060edc /include/llvm/ADT/PointerIntPair.h
parent243491693bda5368a8c447f35983fc946a696b56 (diff)
downloadllvm-18510b7e431b5e8050f546edea904dcb43f46a48.tar.gz
llvm-18510b7e431b5e8050f546edea904dcb43f46a48.tar.bz2
llvm-18510b7e431b5e8050f546edea904dcb43f46a48.tar.xz
[C++11] Expand and eliminate the LLVM_ENUM_INT_TYPE() macro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/PointerIntPair.h')
-rw-r--r--include/llvm/ADT/PointerIntPair.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/PointerIntPair.h b/include/llvm/ADT/PointerIntPair.h
index 0cfd470003..a5a684744b 100644
--- a/include/llvm/ADT/PointerIntPair.h
+++ b/include/llvm/ADT/PointerIntPair.h
@@ -41,7 +41,7 @@ template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
class PointerIntPair {
intptr_t Value;
- enum LLVM_ENUM_INT_TYPE(uintptr_t) {
+ enum : uintptr_t {
/// PointerBitMask - The bits that come from the pointer.
PointerBitMask =
~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable)-1),