mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:18:14 +08:00
mention new VLA behavior in gnu* vs c* mode dox.
llvm-svn: 133030
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user