diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-15 17:04:27 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-15 17:04:27 +0000 |
| commit | 673824b4a1ec87e556129a9c9569c71043b1d453 (patch) | |
| tree | 05af957acbcde7794ab3f2bffb4323302f3ea214 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 02ef0c3524777fd58023985c1ebc3f2015ff6fc6 (diff) | |
| download | llvm-673824b4a1ec87e556129a9c9569c71043b1d453.zip llvm-673824b4a1ec87e556129a9c9569c71043b1d453.tar.gz llvm-673824b4a1ec87e556129a9c9569c71043b1d453.tar.bz2 | |
Wire up support for diagnostic ranges in the ARMAsmParser.
As an example, attach range info to the "invalid instruction" message:
$ clang -arch arm -c asm.c
asm.c:2:11: error: invalid instruction
__asm__("foo r0");
^
<inline asm>:1:2: note: instantiated into assembly here
foo r0
^~~
llvm-svn: 154765
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
