]> granicus.if.org Git - clang/commit
Don't complain about VLAs of non-POD types when the array type is
authorDouglas Gregor <dgregor@apple.com>
Mon, 24 May 2010 20:42:30 +0000 (20:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 24 May 2010 20:42:30 +0000 (20:42 +0000)
commit204ce17e0cfd9bbe229627e1e5a20c3f2f587c8c
treecb0949ace1143329642dad7a66c25954d8c13bd8
parentceafbdeb93ecf323cca74e660bf54504c86f3b71
Don't complain about VLAs of non-POD types when the array type is
dependent. Fixes <rdar://problem/8021385>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104550 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/SemaCXX/c99-variable-length-array.cpp