Restore slightly less dodgy diagnostic handler for inline asm
authorTim Northover <tnorthover@apple.com>
Wed, 6 Apr 2016 19:58:07 +0000 (19:58 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 6 Apr 2016 19:58:07 +0000 (19:58 +0000)
commit1390b4479efe62862f2dc878e19bccbf8168e1ca
treede033dfbf4bcc60e71c28a8796a99dbf329080bc
parent6cc488004d17f5f363d98332442d1be3598798f3
Restore slightly less dodgy diagnostic handler for inline asm

Turns out it was there mostly to prevent Clang asking people to report a bug.
This time we report something to Clang's real diagnostics handler so that it
exits with something approximating a real error and tidies up after itself.

llvm-svn: 265592
clang/lib/CodeGen/CodeGenAction.cpp
clang/test/CodeGen/asm-errors.c