]> granicus.if.org Git - clang/commit
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)
commit733e42df1c2061f59742727e3b0905cf03b8b6e5
treefffa8e56ba60594e35f4d8a93e6782493b398a67
parent088143d34b105b09c3ddf067121f98e3658a4ef3
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265592 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenAction.cpp
test/CodeGen/asm-errors.c