diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-19 17:58:45 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-19 17:58:45 +0000 |
commit | cf81cd270e31f97bb88b51e24708e75cc604980e (patch) | |
tree | bbb026e2b8c86f88f3216388d89d595ef0c88f14 /lib/Sema/SemaStmtAsm.cpp | |
parent | 8cfabf2cb278efc1f694f1d9aab76888a60ee3ac (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.cpp | 1 |
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; |