MipsAsmParser.cpp: fix VS2012 build
authorHans Wennborg <hans@hanshq.net>
Fri, 3 Oct 2014 17:16:24 +0000 (17:16 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 3 Oct 2014 17:16:24 +0000 (17:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218991 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/AsmParser/MipsAsmParser.cpp

index 7eda4caa693be8378f04c440bc75c2c6b47ccfd7..cdab2ba556802588f2f10fdd996056851a7b2bab 100644 (file)
@@ -1628,7 +1628,7 @@ void
 MipsAsmParser::printWarningWithFixIt(const Twine &Msg, const Twine &FixMsg,
                                      SMRange Range, bool ShowColors) {
   getSourceManager().PrintMessage(Range.Start, SourceMgr::DK_Warning, Msg,
-                                  { Range }, { SMFixIt(Range, FixMsg) },
+                                  Range, SMFixIt(Range, FixMsg),
                                   ShowColors);
 }