]> granicus.if.org Git - clang/commit
Merging r292991:
authorHans Wennborg <hans@hanshq.net>
Wed, 25 Jan 2017 17:04:26 +0000 (17:04 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 25 Jan 2017 17:04:26 +0000 (17:04 +0000)
commitcadf1a490f9ae802ad340da5d9e2a272c81efa87
tree923c4561cdc455623fd48979ce62af86ba44e9d5
parentb32860f4c96be739d8cdc9705470ce5b7a33648f
Merging r292991:
------------------------------------------------------------------------
r292991 | rsmith | 2017-01-24 15:18:28 -0800 (Tue, 24 Jan 2017) | 3 lines

PR31742: Don't emit a bogus "zero size array" extwarn when initializing a
runtime-sized array from an empty list in an array new.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/SemaCXX/new-delete-cxx0x.cpp