[all-commits] [llvm/llvm-project] 944691: [NFC][FE] Replace TypeSize with StorageUnitSize

xiangling-liao via All-commits all-commits at lists.llvm.org
Wed Sep 30 07:33:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 944691f0b7fa8d99790a4544545e55f014c37295
      https://github.com/llvm/llvm-project/commit/944691f0b7fa8d99790a4544545e55f014c37295
  Author: Xiangling Liao <Xiangling.Liao at ibm.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M clang/lib/AST/RecordLayoutBuilder.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list