aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c646e7c857..14ee67bfc3 100644
--- a/lib/Sema/SemaStmtAsm.cpp
+++ b/lib/Sema/SemaStmtAsm.cpp
@@ -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);
}