From: Chad Rosier Date: Fri, 19 Oct 2012 17:58:45 +0000 (+0000) Subject: [ms-inline asm] Set the MCTargetAsmParser as paring MS-style inline asm. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf81cd270e31f97bb88b51e24708e75cc604980e;p=clang [ms-inline asm] Set the MCTargetAsmParser as paring MS-style inline asm. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166293 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index 172cfe55be..939685599c 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -460,6 +460,7 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, Parser->setAssemblerDialect(1); Parser->setTargetParser(*TargetParser.get()); Parser->setParsingInlineAsm(true); + TargetParser->setParsingInlineAsm(true); unsigned NumOutputs; unsigned NumInputs;