[clang][NFC] Use a more accurate size type in the new operation
authorCaprYang <capryang@gmail.com>
Thu, 20 Jul 2023 18:53:56 +0000 (14:53 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 20 Jul 2023 18:54:51 +0000 (14:54 -0400)
commit54aca3f33f630d2b2955b225401efeb1b4225177
tree5ca0435d3fe65f107b9f863177c223fd545d88e5
parentf52e61f3d37bf105f99867dd939cb46caee63ffe
[clang][NFC] Use a more accurate size type in the new operation

This prevents issues when PointerWidth and the SizeType width are not same.

Differential Revision: https://reviews.llvm.org/D152160
clang/lib/Sema/SemaExprCXX.cpp