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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104471 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/www/cxx_compatibility.html b/www/cxx_compatibility.html
index cfe3c0a..fe03240 100644
--- a/www/cxx_compatibility.html
+++ b/www/cxx_compatibility.html
@@ -53,11 +53,8 @@
user-declared constructors or destructors, base classes, or any
members if non-POD type. All C types are POD types.</li>
- <li>Variable length arrays cannot be used in conjunction with
- templates. For example, one cannot use a variable length array
- inside a template or use a variable length array type in a template
- argument.</li>
-</ul>
+ <li>Variable length arrays cannot be used as the type of a non-type
+template parameter.</li> </ul>
<p>If your code uses variable length arrays in a manner that Clang doesn't support, there are several ways to fix your code: