History log of /external/clang/test/CodeGenCXX/c99-variable-length-array.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7143325db76d6c3dabce82500f8cc7c93a941970 01-Feb-2011 John McCall <rjmccall@apple.com> Do the right thing for zero-initializing VLAs that don't have a zero
bit-pattern. It's not clear that this is actually useful given current
language restrictions.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/c99-variable-length-array.cpp
0fddb97901dbe36a8253dee29961cba8e0a87cf6 22-May-2010 Douglas Gregor <dgregor@apple.com> Implement support for variable length arrays in C++. VLAs are limited
in several important ways:

- VLAs of non-POD types are not permitted.
- VLAs cannot be used in conjunction with C++ templates.

These restrictions are intended to keep VLAs out of the parts of the
C++ type system where they cause the most trouble. Fixes PR5678 and
<rdar://problem/8013618>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/c99-variable-length-array.cpp