diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-20 18:50:51 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-20 18:50:51 +0000 |
commit | 9dd82c1d94656932b81146cdf81555347be2486c (patch) | |
tree | e7e007bee56c750ae1e3e92f177b60166bce4948 /clang/docs/UsersManual.html | |
parent | 8c6c8a98b6c407f30fb957c816920f31034743bb (diff) | |
download | bcm5719-llvm-9dd82c1d94656932b81146cdf81555347be2486c.tar.gz bcm5719-llvm-9dd82c1d94656932b81146cdf81555347be2486c.zip |
Re-apply r160319 "Don't crash when emitting fixits following Unicode chars"
This time, make sure we don't try to print fixits with newline characters,
since they don't have a valid column width, and they don't look good anyway.
PR13417 (and originally <rdar://problem/11877454>)
llvm-svn: 160561
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r-- | clang/docs/UsersManual.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html index 7a0e325c037..629d9b25747 100644 --- a/clang/docs/UsersManual.html +++ b/clang/docs/UsersManual.html @@ -230,6 +230,9 @@ print something like: <p>When this is disabled, Clang will print "test.c:28: warning..." with no column number.</p> + +<p>The printed column numbers count bytes from the beginning of the line; take +care if your source contains multibyte characters.</p> </dd> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> @@ -396,6 +399,9 @@ exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands to binary expre </pre> <p>The {}'s are generated by -fdiagnostics-print-source-range-info.</p> + +<p>The printed column numbers count bytes from the beginning of the line; take +care if your source contains multibyte characters.</p> </dd> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> @@ -416,6 +422,9 @@ respectively). Both the file name and the insertion string escape backslash (as "\\"), tabs (as "\t"), newlines (as "\n"), double quotes(as "\"") and non-printable characters (as octal "\xxx").</p> + +<p>The printed column numbers count bytes from the beginning of the line; take +care if your source contains multibyte characters.</p> </dd> <dt id="opt_fno-elide-type"> |