diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-15 00:03:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-15 00:03:12 +0000 |
commit | c7ed7ea390d03bb02c2f03a651b42781af2fa43a (patch) | |
tree | 72f7a9b5a566f6126c43ff17bebf170fe9601204 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4f6e8deec4cbf0f80158d6d1f535093315f289cc (diff) | |
download | llvm-c7ed7ea390d03bb02c2f03a651b42781af2fa43a.zip llvm-c7ed7ea390d03bb02c2f03a651b42781af2fa43a.tar.gz llvm-c7ed7ea390d03bb02c2f03a651b42781af2fa43a.tar.bz2 |
fix the inline asm diagnostics to emit the error on the primary
source code location instead of on the note. Previously we generated:
<inline asm>:1:2: error: unrecognized instruction
barf
^
t.c:4:8: note: generated from here
asm ("barf");
^
Now we generate:
t.c:4:8: error: unrecognized instruction
asm ("barf");
^
<inline asm>:1:2: note: instantated into assembly here
barf
^
llvm-svn: 105978
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions