summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/unprintable.c
Commit message (Collapse)AuthorAgeFilesLines
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* LiteralSupport: Don't overflow the temporary buffer when decoding invalid ↵Benjamin Kramer2012-11-081-0/+6
| | | | | | | | | string parts. Instead just use a dummy buffer, we're not going to use the decoded string anyways. Fixes PR14292. llvm-svn: 167594
* tests: Tweak unprintable.c to try another character which is hopefully even moreDaniel Dunbar2012-10-261-10/+10
| | | | | | unprintable. llvm-svn: 166798
* Use a "better" unicode character, to avoid buildbot breakage on bots which ↵Richard Smith2012-09-131-3/+3
| | | | | | can print some unicode characters. llvm-svn: 163825
* Make TextDiagnostic more robust against SourceLocations which point into theRichard Smith2012-09-131-2/+19
| | | | | | | middle of UTF-8 characters, and avoid walking to such positions when adjusting column ranges for display. Fixes a couple of hangs when rendering diagnostics. llvm-svn: 163820
* 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