r179762 - Specify that we're parsing ms-style inline assembly.
Chad Rosier
mcrosier at apple.com
Thu Apr 18 08:45:32 PDT 2013
Author: mcrosier
Date: Thu Apr 18 10:45:31 2013
New Revision: 179762
URL: http://llvm.org/viewvc/llvm-project?rev=179762&view=rev
Log:
Specify that we're parsing ms-style inline assembly.
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=179762&r1=179761&r2=179762&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Thu Apr 18 10:45:31 2013
@@ -622,7 +622,7 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLo
llvm::SourceMgr SrcMgr;
llvm::MCContext Ctx(*MAI, *MRI, MOFI.get(), &SrcMgr);
llvm::MemoryBuffer *Buffer =
- llvm::MemoryBuffer::getMemBuffer(AsmString, "<inline asm>");
+ llvm::MemoryBuffer::getMemBuffer(AsmString, "<MS inline asm>");
// Tell SrcMgr about this buffer, which is what the parser will pick up.
SrcMgr.AddNewSourceBuffer(Buffer, llvm::SMLoc());
More information about the cfe-commits
mailing list