From ec8dbe080384cfa6d43a3049c0da61f9caa41422 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 21 Apr 2017 12:08:25 +0000 Subject: [PATCH] Revert: r300966 - [globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964 It didn't fix the builder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300968 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/GlobalISelEmitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/TableGen/GlobalISelEmitter.cpp b/utils/TableGen/GlobalISelEmitter.cpp index 70552e20893..312b3a69c71 100644 --- a/utils/TableGen/GlobalISelEmitter.cpp +++ b/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 " - "PredicateBitset;\n" + << "using PredicateBitset = " + "PredicateBitsetImpl;\n" << "#endif // ifdef GET_GLOBALISEL_PREDICATE_BITSET\n\n"; OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n"; -- 2.50.1