[cfe-commits] r166293 - /cfe/trunk/lib/Sema/SemaStmtAsm.cpp
Chad Rosier
mcrosier at apple.com
Fri Oct 19 10:58:45 PDT 2012
Author: mcrosier
Date: Fri Oct 19 12:58:45 2012
New Revision: 166293
URL: http://llvm.org/viewvc/llvm-project?rev=166293&view=rev
Log:
[ms-inline asm] Set the MCTargetAsmParser as paring MS-style inline asm.
Modified:
cfe/trunk/lib/Sema/SemaStmtAsm.cpp
Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmtAsm.cpp?rev=166293&r1=166292&r2=166293&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Fri Oct 19 12:58:45 2012
@@ -460,6 +460,7 @@
Parser->setAssemblerDialect(1);
Parser->setTargetParser(*TargetParser.get());
Parser->setParsingInlineAsm(true);
+ TargetParser->setParsingInlineAsm(true);
unsigned NumOutputs;
unsigned NumInputs;
More information about the cfe-commits
mailing list