summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implementation of VlA of GNU C++ extension, by Vladimir Yakovlev.Alexey Bataev2016-04-291-1/+5
| | | | | | | This enables GNU C++ extension "Variable length array" by default. Differential Revision: http://reviews.llvm.org/D18823 llvm-svn: 268018
* Implement -Wvla correctlyDmitri Gribenko2013-01-231-1/+1
| | | | | | | | | | | | | GCC implements -Wvla as "warn on every VLA" (this is useful to find every VLA, for example, if they are forbidden by coding guidelines). Currently Clang implements -Wvla as "warn on VLA when it is an extension". The attached patch makes our behavior match GCC. The existing vla extwarn is moved under -Wvla-extension and is still included into -Wgnu. This fixes PR5953. llvm-svn: 173286
* Use the C++11 POD definition in C++11 mode to determine whether oneDouglas Gregor2013-01-071-0/+26
can create a VLA of class type. Fixes <rdar://problem/12151822>. llvm-svn: 171783
OpenPOWER on IntegriCloud