]> granicus.if.org Git - clang/commit
Do the right thing for zero-initializing VLAs that don't have a zero
authorJohn McCall <rjmccall@apple.com>
Tue, 1 Feb 2011 21:35:06 +0000 (21:35 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 1 Feb 2011 21:35:06 +0000 (21:35 +0000)
commit7143325db76d6c3dabce82500f8cc7c93a941970
tree05c5211ec940a94f28b5bd9b08ab1f13d9439972
parentdb0835552ff4b640bc908a50ccd075ab63cf6fff
Do the right thing for zero-initializing VLAs that don't have a zero
bit-pattern.  It's not clear that this is actually useful given current
language restrictions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124685 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
test/CodeGenCXX/c99-variable-length-array.cpp