Revision tags: llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
9a414458 |
| 24-May-2010 |
Douglas Gregor <dgregor@apple.com> |
Don't complain about VLAs of non-POD types when the array type is dependent. Fixes <rdar://problem/8021385>.
llvm-svn: 104550
|
#
5a5073e4 |
| 24-May-2010 |
Douglas Gregor <dgregor@apple.com> |
Make sure that we instantiate variably modified types, even if they aren't dependent. Fixes <rdar://problem/8020206>.
llvm-svn: 104511
|
#
a09387df |
| 23-May-2010 |
Douglas Gregor <dgregor@apple.com> |
It turns out that people love using VLAs in templates, too. Weaken our VLA restrictions so that one can use VLAs in templates (even accidentally), but not as part of a non-type template parameter (wh
It turns out that people love using VLAs in templates, too. Weaken our VLA restrictions so that one can use VLAs in templates (even accidentally), but not as part of a non-type template parameter (which would be very bad).
llvm-svn: 104471
show more ...
|
#
4b636a70 |
| 23-May-2010 |
Douglas Gregor <dgregor@apple.com> |
Put the VLA-is-an-extension warning into its own warning group (-Wvla) so that it can be selectively enabled/disabled.
llvm-svn: 104462
|
#
5e8c8c0e |
| 23-May-2010 |
Douglas Gregor <dgregor@apple.com> |
Even though we don't unique VLA types, we still need to build a canonical type where the element type is canonical. Fixes PR7206.
llvm-svn: 104461
|
#
959d5a0c |
| 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++ template
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>.
llvm-svn: 104443
show more ...
|