OSDN Git Service

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 7eda4ca..cdab2ba 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);
 }