Timm Bäder
f63155aaa6
[clang] Show line numbers in diagnostic code snippets
...
Show line numbers to the left of diagnostic code snippets and increase
the numbers of lines shown from 1 to 16.
Differential Revision: https://reviews.llvm.org/D147875
2023-05-31 07:26:03 +02:00
Timm Bäder
5fd35c326a
Revert "[clang] Show line numbers in diagnostic code snippets"
...
This reverts commit e2917311f026cc445fa8aeefa0457b0c7a60824a.
This caused some problems with lldb testing the diagnostic output:
https://lab.llvm.org/buildbot/#/builders/68/builds/52754
2023-05-16 17:26:48 +02:00
Timm Bäder
e2917311f0
[clang] Show line numbers in diagnostic code snippets
...
Show line numbers to the left of diagnostic code snippets and increase
the numbers of lines shown from 1 to 16.
Differential Revision: https://reviews.llvm.org/D147875
2023-05-16 17:12:47 +02:00
Richard Smith
06f621d349
Don't destroy MacroInfos if we find the macro definition is invalid; it'll get
...
destroyed on shutdown regardless. Fixes a double-delete.
llvm-svn: 214675
2014-08-03 23:41:04 +00:00
Rafael Espindola
925213b0fa
Add 'not' to commands that are expected to fail.
...
This is at least good documentation, but also opens the possibility of
using pipefail.
llvm-svn: 185652
2013-07-04 16:16:58 +00:00
Richard Smith
639b8d05dd
When a bad UTF-8 encoding or bogus escape sequence is encountered in a
...
string literal, produce a diagnostic pointing at the erroneous character
range, not at the start of the literal.
llvm-svn: 163459
2012-09-08 07:16:20 +00:00