]> granicus.if.org Git - clang/commitdiff
mention new VLA behavior in gnu* vs c* mode dox.
authorChris Lattner <sabre@nondot.org>
Wed, 15 Jun 2011 00:41:40 +0000 (00:41 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Jun 2011 00:41:40 +0000 (00:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133030 91177308-0d34-0410-b5e6-96231b3b80d8

docs/UsersManual.html

index 70c7fc335cef3d14e890806f2913cfb1960c388d..639892714ef8c40fea746099ecb82cece3d44038 100644 (file)
@@ -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>