[cfe-commits] [PATCH] Add -Wvla support

Sam Weinig weinig at apple.com
Fri Feb 12 16:08:42 PST 2010


The attached patch adds -Wvla support for clang.  This warning (which is not available in GCC 4.2) warns about VLA usage even in C99 mode. This fixes PR5953. I would appreciate a review before I commit.

- Sam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wvla.diff
Type: application/octet-stream
Size: 2150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100212/f0231e81/attachment.obj>
-------------- next part --------------




More information about the cfe-commits mailing list