[NFC][FE] Replace TypeSize with StorageUnitSize
authorXiangling Liao <Xiangling.Liao@ibm.com>
Wed, 30 Sep 2020 13:52:41 +0000 (09:52 -0400)
committerXiangling Liao <Xiangling.Liao@ibm.com>
Wed, 30 Sep 2020 14:32:53 +0000 (10:32 -0400)
commit944691f0b7fa8d99790a4544545e55f014c37295
tree8ca07f6641b5cf1a9c9831efdd900a29bdf5b84d
parentdc261d23d07cccfa7b10a3d1a43903138aee94dc
[NFC][FE] Replace TypeSize with StorageUnitSize

On some targets like AIX, last bitfield size is not always equal to last
bitfield type size. Some bitfield like bool will have the same alignment
as [unsigned]. So we'd like to use a more general term `StorageUnit` to
replace type in this field.

Differential Revision: https://reviews.llvm.org/D88260
clang/lib/AST/RecordLayoutBuilder.cpp