commit | 4bd40318cbea15310a37343db46de96c4fcc15e6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jul 13 15:54:32 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jul 13 15:54:32 2010 +0000 |
tree | e77167e0d7eecd0192a31c03d8f5fc206fec6c72 | |
parent | 9b36c3f0de0105e903130bbda3c4aea7d792c0af [diff] |
Downgrade the "when type is in parentheses, array cannot have dynamic size" error for code like new (int [size]) to a warning, add a Fix-It to remove the parentheses, and make this diagnostic work properly when it occurs in a template instantiation. <rdar://problem/8018245>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108242 91177308-0d34-0410-b5e6-96231b3b80d8