aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-19 17:58:45 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-19 17:58:45 +0000
commitcf81cd270e31f97bb88b51e24708e75cc604980e (patch)
treebbb026e2b8c86f88f3216388d89d595ef0c88f14 /lib/Sema/SemaStmtAsm.cpp
parent8cfabf2cb278efc1f694f1d9aab76888a60ee3ac (diff)
[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
Diffstat (limited to 'lib/Sema/SemaStmtAsm.cpp')
-rw-r--r--lib/Sema/SemaStmtAsm.cpp1
1 files changed, 1 insertions, 0 deletions
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;