[ms-inline asm] Refactor/clean up the SemaLookup interface. No functional
change indended.
Part of rdar://13663589
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180028 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp
index be55d53..d23a0ab 100644
--- a/lib/MC/MCParser/AsmParser.cpp
+++ b/lib/MC/MCParser/AsmParser.cpp
@@ -4115,15 +4115,12 @@
}
// Expr/Input or Output.
- bool IsVarDecl;
- unsigned Length, Size, Type;
StringRef SymName = Operand->getSymName();
if (SymName.empty())
continue;
- void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, AsmLoc,
- Length, Size, Type,
- IsVarDecl);
+ MCAsmParserSemaCallback::InlineAsmIdentifierInfo Info;
+ void *OpDecl = SI.LookupInlineAsmIdentifier(SymName, Info);
if (!OpDecl)
continue;