diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-24 03:47:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-24 03:47:34 +0000 |
commit | 4e1c53deeacbbbfc487e996e86124e4b8acc25f5 (patch) | |
tree | 94e75ffd8b9d6ed7607f85780c0c1a36cd8d0a65 /docs | |
parent | 40d5eb4940f235f923ca9d126f3bbd5384a4a3d0 (diff) |
fix a broken example, PR9005, patch by Jonathan Wakely!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/UsersManual.html | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html index bad9bae8db..019735d654 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -248,32 +248,29 @@ when this is enabled, Clang will print something like:</p> ^ // </pre> - -<p>When this is disabled, Clang will just print:</p> - -<pre> - <b><font color="black">test.c:28:8: <font color="magenta">warning</font>: extra tokens at end of #endif directive [-Wextra-tokens]</font></b> - #endif bad - <font color="green">^</font> - <font color="green">//</font> -</pre> - </dd> - <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <dt id="opt_fcolor_diagnostics"><b>-f[no-]color-diagnostics</b>: </dt> <dd>This option, which defaults to on when a color-capable terminal is detected, controls whether or not Clang prints diagnostics in color. When this option is enabled, Clang will use colors to highlight specific parts of the diagnostic, e.g., - + <pre> + <b><font color="black">test.c:28:8: <font color="magenta">warning</font>: extra tokens at end of #endif directive [-Wextra-tokens]</font></b> + #endif bad + <font color="green">^</font> + <font color="green">//</font> +</pre> + +<p>When this is disabled, Clang will just print:</p> + <pre> -<test.c:2:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] -#endif bad - ^ - // + test.c:2:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] + #endif bad + ^ + // </pre> -</dd>' +</dd> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <dt id="opt_fdiagnostics-show-option"><b>-f[no-]diagnostics-show-option</b>: Enable <tt>[-Woption]</tt> information in diagnostic line.</dt> |