summaryrefslogtreecommitdiffstats
path: root/clang/docs/UsersManual.html
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
commite67977214f0bb847d7705296126e686dedd9ae02 (patch)
treeb57b5a3daf67b2d9be2809221786d4874235d36b /clang/docs/UsersManual.html
parent22ea424d4312ef1984ae7da16962ac573d0b6378 (diff)
downloadbcm5719-llvm-e67977214f0bb847d7705296126e686dedd9ae02.tar.gz
bcm5719-llvm-e67977214f0bb847d7705296126e686dedd9ae02.zip
mention new VLA behavior in gnu* vs c* mode dox.
llvm-svn: 133030
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r--clang/docs/UsersManual.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html
index 70c7fc335ce..639892714ef 100644
--- a/clang/docs/UsersManual.html
+++ b/clang/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>
OpenPOWER on IntegriCloud