aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/c99-variable-length-array.cpp
AgeCommit message (Collapse)Author
2012-01-25Don't stack-allocate an IntegerLiteral which can be referred to after the ↵Eli Friedman
current method returns. PR11744, part 2. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148995 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-01Do the right thing for zero-initializing VLAs that don't have a zeroJohn McCall
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
2010-05-22Implement support for variable length arrays in C++. VLAs are limitedDouglas Gregor
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