]> granicus.if.org Git - clang/commit
[ms-inline asm] Have the LookupInlineAsmIdentifier() callback function return a
authorChad Rosier <mcrosier@apple.com>
Thu, 18 Oct 2012 19:39:37 +0000 (19:39 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 18 Oct 2012 19:39:37 +0000 (19:39 +0000)
commitd052ebf6ca1a9ae3123a8ee22bc37e58ddb61018
tree298632c8b303744de58926b4b04e3fbb35d902f8
parentc3c26b7390bc4ac3ad122f557a10ba17ab871216
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166213 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmtAsm.cpp