r180055 - [ms-inline asm] Set the OpDecl to the InlineAsmIdentifierInfo struct.
Chad Rosier
mcrosier at apple.com
Mon Apr 22 15:05:00 PDT 2013
Author: mcrosier
Date: Mon Apr 22 17:05:00 2013
New Revision: 180055
URL: http://llvm.org/viewvc/llvm-project?rev=180055&view=rev
Log:
[ms-inline asm] Set the OpDecl to the InlineAsmIdentifierInfo struct.
Part of rdar://13663589
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=180055&r1=180054&r2=180055&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Mon Apr 22 17:05:00 2013
@@ -449,6 +449,7 @@ public:
InlineAsmIdentifierInfo &Info) {
SourceLocation Loc = SourceLocation::getFromPtrEncoding(LineBuf.data());
NamedDecl *OpDecl = SemaRef.LookupInlineAsmIdentifier(LineBuf, Loc, Info);
+ Info.OpDecl = static_cast<void *>(OpDecl);
return static_cast<void *>(OpDecl);
}
More information about the cfe-commits
mailing list