[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 172cfe5..9396855 100644
--- a/lib/Sema/SemaStmtAsm.cpp
+++ b/lib/Sema/SemaStmtAsm.cpp
@@ -460,6 +460,7 @@
Parser->setAssemblerDialect(1);
Parser->setTargetParser(*TargetParser.get());
Parser->setParsingInlineAsm(true);
+ TargetParser->setParsingInlineAsm(true);
unsigned NumOutputs;
unsigned NumInputs;