When the type-id or new-type-id of a C++ "new" expression is a typedef
of an array type, use the outermost array bound as the number of
elements to allocate. Fixes PR7147.

llvm-svn: 103908
2 files changed
tree: 2ceeb57e0394c2ec137739eb4a95b05d04e47d48
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. llvm/