aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-15 00:41:40 +0000
committerChris Lattner <sabre@nondot.org>2011-06-15 00:41:40 +0000
commit741be6a49f7a892ef8de6d8a499fdf45a7d57654 (patch)
treed565cb1c0cd5f8d9da52657561c57f1e692066af
parent74da19fc3a52d7e3005eeb7a7833859da84fd12a (diff)
mention new VLA behavior in gnu* vs c* mode dox.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133030 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/UsersManual.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html
index 70c7fc335c..639892714e 100644
--- a/docs/UsersManual.html
+++ b/docs/UsersManual.html
@@ -846,6 +846,10 @@ variants "__asm__" and "__typeof__" are recognized in all modes.</li>
<li>The Apple "blocks" extension is recognized by default in gnu* modes
on some platforms; it can be enabled in any mode with the "-fblocks"
option.</li>
+<li>Arrays that are VLA's according to the standard, but which can be constant
+ folded by the frontend are treated as fixed size arrays. This occurs for
+ things like "int X[(1, 2)];", which is technically a VLA. c* modes are
+ strictly compliant and treat these as VLAs.</li>
</ul>
<p>Differences between *89 and *99 modes:</p>