Reland r326766 (with a slightly modified test)
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 7 Mar 2018 04:52:34 +0000 (04:52 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 7 Mar 2018 04:52:34 +0000 (04:52 +0000)
commit4763876f4b417b9effb7d4737dc22007e44a9c19
treeaafb3765618cb377739f9ee515587b53f52cff41
parentbec42c848ddc0eb525d1a3c63ba3f65961848f2f
Reland r326766 (with a slightly modified test)

The original revert was done in r326869, since reverting r326602 broke
the test added by this.

The new test should be less dependent on r326602.

llvm-svn: 326872
clang/lib/AST/ExprConstant.cpp
clang/test/CodeGenCXX/alloc-size.cpp