aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/c99-variable-length-array.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-08-15CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin1-1/+1
tests fail. llvm-svn: 188447
2012-01-25Don't stack-allocate an IntegerLiteral which can be referred to after the ↵Eli Friedman1-0/+10
current method returns. PR11744, part 2. llvm-svn: 148995
2011-02-01Do the right thing for zero-initializing VLAs that don't have a zeroJohn McCall1-1/+1
bit-pattern. It's not clear that this is actually useful given current language restrictions. llvm-svn: 124685
2010-05-22Implement support for variable length arrays in C++. VLAs are limitedDouglas Gregor1-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