summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/c99-variable-length-array.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-1/+1
| | | | | | tests fail. llvm-svn: 188447
* Don't stack-allocate an IntegerLiteral which can be referred to after the ↵Eli Friedman2012-01-251-0/+10
| | | | | | current method returns. PR11744, part 2. llvm-svn: 148995
* Do the right thing for zero-initializing VLAs that don't have a zeroJohn McCall2011-02-011-1/+1
| | | | | | | bit-pattern. It's not clear that this is actually useful given current language restrictions. llvm-svn: 124685
* Implement support for variable length arrays in C++. VLAs are limitedDouglas Gregor2010-05-221-0/+27
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>. llvm-svn: 104443
OpenPOWER on IntegriCloud