[ms-inline asm] Have the LookupInlineAsmIdentifier() callback function return a
authorChad Rosier <mcrosier@apple.com>
Thu, 18 Oct 2012 19:39:30 +0000 (19:39 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 18 Oct 2012 19:39:30 +0000 (19:39 +0000)
commitf641baa0300c6742621a04ce6b3d89b2942ae9ac
tree4dc299ac6ed4a9ad438d4500b6989b7a7e233bda
parent92898a79ebd327cce331e002d2940b402de85a92
[ms-inline asm] Have the LookupInlineAsmIdentifier() callback function return a
*NamedDecl.  In turn, build the expressions after we're finished parsing the
asm.  This avoids a crasher if the lookup fails.

llvm-svn: 166212
llvm/include/llvm/MC/MCParser/MCAsmParser.h
llvm/lib/MC/MCParser/AsmParser.cpp