summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-04-21 12:08:25 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-04-21 12:08:25 +0000
commited30f5b2741ef3172cc91c9296df627390bc1073 (patch)
tree3ebac95c3923f025a65d1375344e0be9e251fc41 /llvm/utils
parentf941ec0ecc2d177f54a94ad429278947556a3ea9 (diff)
downloadbcm5719-llvm-ed30f5b2741ef3172cc91c9296df627390bc1073.tar.gz
bcm5719-llvm-ed30f5b2741ef3172cc91c9296df627390bc1073.zip
Revert: r300966 - [globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964
It didn't fix the builder. llvm-svn: 300968
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/GlobalISelEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp
index 70552e20893..312b3a69c71 100644
--- a/llvm/utils/TableGen/GlobalISelEmitter.cpp
+++ b/llvm/utils/TableGen/GlobalISelEmitter.cpp
@@ -1749,8 +1749,8 @@ void GlobalISelEmitter::run(raw_ostream &OS) {
OS << "#ifdef GET_GLOBALISEL_PREDICATE_BITSET\n"
<< "const unsigned MAX_SUBTARGET_PREDICATES = " << SubtargetFeatures.size()
<< ";\n"
- << "typedef PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES> "
- "PredicateBitset;\n"
+ << "using PredicateBitset = "
+ "PredicateBitsetImpl<MAX_SUBTARGET_PREDICATES>;\n"
<< "#endif // ifdef GET_GLOBALISEL_PREDICATE_BITSET\n\n";
OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n";
OpenPOWER on IntegriCloud