diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-06 18:38:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-06 18:38:50 +0000 |
commit | 6da9eb661616ffd702deeb37e6872dd2294c8fef (patch) | |
tree | c8d2edb3fb983bdcdb43adaeeeac19acf554dfde /lib/Sema/SemaCodeComplete.cpp | |
parent | cabae68037bd3740ac4fb73382e04cd365457c17 (diff) |
teach clang to install the inline asm diagnostic handler,
allowing backend errors to be mapped through clang's
diagnostics subsystem, including the backend location info.
We now get:
$ clang asm.c -c -o t.o -integrated-as
<inline asm>:1:2: error: unrecognized instruction
abc incl %eax
^
1 diagnostic generated.
With colors, and correct "# diagnostics generated".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions