summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/wrong-encoding.c
Commit message (Collapse)AuthorAgeFilesLines
* add test for r167063Seth Cantrell2012-10-311-0/+2
| | | | llvm-svn: 167089
* Handle string encoding diagnostics when there are too many invalid ranges.David Blaikie2012-10-301-0/+4
| | | | llvm-svn: 167059
* improve highlighting of invalid string encodingsSeth Cantrell2012-10-281-4/+21
| | | | | | | limit highlight to exactly the bad encoding, and highlight every bad encoding in a string. llvm-svn: 166900
* When a bad UTF-8 encoding or bogus escape sequence is encountered in aRichard Smith2012-09-081-2/+2
| | | | | | | string literal, produce a diagnostic pointing at the erroneous character range, not at the start of the literal. llvm-svn: 163459
* Nicer display of unprintable source, and fix caret display for non-ascii textSeth Cantrell2012-04-181-0/+16
| | | | | | | | | | | | | Unprintable source in diagnostics is transformed to a printable form and then displayed with reversed colors if possible. Unprintable characters are displayed as <U+NNNN> while bytes that do not represent valid characters are shown as <XX>. Column adjustments to diagnostic carets, highlighted ranges, and fixups are made both for characters escaped as above and for characters which are printable but take up more than a single column. llvm-svn: 154980
* Revert "Nicer display of unprintable source, and fix caret display for ↵Seth Cantrell2012-04-171-16/+0
| | | | | | | | | | | | non-ascii text" This reverts commit e9a3b76ba589a8a884e978273beaed0d97cf9861. Revert "fix display of source lines with null characters" This reverts commit 70712b276e40bbe11e5063dfc7e82ce3209929cd. llvm-svn: 154950
* Nicer display of unprintable source, and fix caret display for non-ascii textSeth Cantrell2012-04-171-0/+16
Unprintable source in diagnostics is transformed to a printable form and then displayed with reversed colors if possible. Unprintable characters are displayed as <U+NNNN> while bytes that do not represent valid characters are shown as <XX>. Column adjustments to diagnostic carets, highlighted ranges, and fixups are made both for characters escaped as above and for characters which are printable but take up more than a single column. llvm-svn: 154946
OpenPOWER on IntegriCloud