summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocGreedy.cpp
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 /lib/CodeGen/RegAllocGreedy.cpp
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 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp
index 3372e26195..b8307c63b2 100644
--- a/lib/CodeGen/RegAllocGreedy.cpp
+++ b/lib/CodeGen/RegAllocGreedy.cpp
@@ -247,7 +247,7 @@ class RAGreedy : public MachineFunctionPass,
/// class.
SmallVector<GlobalSplitCandidate, 32> GlobalCand;
- enum LLVM_ENUM_INT_TYPE(unsigned) { NoCand = ~0u };
+ enum : unsigned { NoCand = ~0u };
/// Candidate map. Each edge bundle is assigned to a GlobalCand entry, or to
/// NoCand which indicates the stack interval.