[ms-inline asm] Make sure we fail gracefully on parse errors. Parse errors
authorChad Rosier <mcrosier@apple.com>
Wed, 12 Dec 2012 22:45:52 +0000 (22:45 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 12 Dec 2012 22:45:52 +0000 (22:45 +0000)
commit5749801caaf523e2e151eea4cacc87299a4b3822
tree3b638e6f7ff398538e6b018c6477e69b8624deb6
parentae3ce26f995f4747516a756f73d152c7188ff43b
[ms-inline asm] Make sure we fail gracefully on parse errors.  Parse errors
should only occur on invalid input.  Instruction matching errors aren't
unexpected, so we can't rely on the AsmParsers HadError variable directly.
rdar://12840278

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170037 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp