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 | 7d29d4503ad2472f892a0ca41a955d1c8f1dfe30 (patch) | |
tree | 292898908bc2d50b58d428ee9092caa6ebf633c9 /clang/docs/UsersManual.html | |
parent | c530be664fdaf19adf7012dc227042609f327724 (diff) | |
download | bcm5719-llvm-7d29d4503ad2472f892a0ca41a955d1c8f1dfe30.tar.gz bcm5719-llvm-7d29d4503ad2472f892a0ca41a955d1c8f1dfe30.zip |
fix a broken example, PR9005, patch by Jonathan Wakely!
llvm-svn: 124104
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r-- | clang/docs/UsersManual.html | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html index bad9bae8db2..019735d6545 100644 --- a/clang/docs/UsersManual.html +++ b/clang/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> |