[cfe-commits] r124104 - /cfe/trunk/docs/UsersManual.html
Chris Lattner
sabre at nondot.org
Sun Jan 23 19:47:34 PST 2011
Author: lattner
Date: Sun Jan 23 21:47:34 2011
New Revision: 124104
URL: http://llvm.org/viewvc/llvm-project?rev=124104&view=rev
Log:
fix a broken example, PR9005, patch by Jonathan Wakely!
Modified:
cfe/trunk/docs/UsersManual.html
Modified: cfe/trunk/docs/UsersManual.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.html?rev=124104&r1=124103&r2=124104&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.html (original)
+++ cfe/trunk/docs/UsersManual.html Sun Jan 23 21:47:34 2011
@@ -248,32 +248,29 @@
^
//
</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>
More information about the cfe-commits
mailing list