From 0cd1b539bcff45a94a5e1e8b71985d0f1a4dc455 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 21 Apr 2017 11:29:29 +0000 Subject: [PATCH] [globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964 This should fix llvm-clang-x86_64-expensive-checks-win llvm-svn: 300966 --- llvm/utils/TableGen/GlobalISelEmitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp index 312b3a6..70552e2 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" - << "using PredicateBitset = " - "PredicateBitsetImpl;\n" + << "typedef PredicateBitsetImpl " + "PredicateBitset;\n" << "#endif // ifdef GET_GLOBALISEL_PREDICATE_BITSET\n\n"; OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n"; -- 2.7.4