[cfe-commits] r72501 - /cfe/trunk/docs/UsersManual.html
Eli Friedman
eli.friedman at gmail.com
Wed May 27 16:02:57 PDT 2009
Author: efriedma
Date: Wed May 27 18:02:57 2009
New Revision: 72501
URL: http://llvm.org/viewvc/llvm-project?rev=72501&view=rev
Log:
A few tweaks to the "Differences between various standard modes"
section.
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=72501&r1=72500&r2=72501&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.html (original)
+++ cfe/trunk/docs/UsersManual.html Wed May 27 18:02:57 2009
@@ -504,8 +504,8 @@
<p>Differences between all c* and gnu* modes:</p>
<ul>
<li>c* modes define "__STRICT_ANSI__".</li>
-<li>Target-specific defines not prefixed by underscores, like "linux", are defined
-in gnu* modes.</li>
+<li>Target-specific defines not prefixed by underscores, like "linux", are
+defined in gnu* modes.</li>
<li>Trigraphs default to being off in gnu* modes; they can be enabled by the
-trigraphs option.</li>
<li>The parser recognizes "asm" and "typeof" as keywords in gnu* modes; the
@@ -521,11 +521,12 @@
<li>The *99 modes default to implementing "inline" as specified in C99, while
the *89 modes implement the GNU version. This can be overridden for individual
functions with the __gnu_inline__ attribute.</li>
-<li>Digraphs are enabled in the *99 modes.</li>
+<li>Digraphs are not recognized in c89 mode.</li>
<li>The scope of names defined inside a "for", "if", "switch", "while", or "do"
statement is different. (example: "if ((struct x {int x;}*)0) {}".)</li>
<li>__STDC_VERSION__ is not defined in *89 modes.</li>
-<li>"inline" and "restrict" are not recognized as keywords in c89 mode.</li>
+<li>"inline" is not recognized as a keyword in c89 mode.</li>
+<li>"restrict" is not recognized as a keyword in *89 modes.</li>
<li>Commas are allowed in integer constant expressions in *99 modes.</li>
<li>Arrays which are not lvalues are not implicitly promoted to pointers in
*89 modes.</li>
More information about the cfe-commits
mailing list