[PATCH] D106900: [PowerPC][AIX] Packed zero-width bitfields do not affect alignment.
Zarko Todorovski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 29 18:35:38 PDT 2021
ZarkoCA accepted this revision.
ZarkoCA added a comment.
LGTM also. Just a comment typo.
================
Comment at: clang/lib/AST/RecordLayoutBuilder.cpp:1779
+ // On AIX, zero-width bitfields pad out to the natural alignment boundary,
+ // but dont increase the alignment greater than the MaxFieldAlignment, or 1
+ // if packed.
----------------
================
Comment at: clang/lib/AST/RecordLayoutBuilder.cpp:1779
+ // On AIX, zero-width bitfields pad out to the natural alignment boundary,
+ // but dont increase the alignment greater than the MaxFieldAlignment, or 1
+ // if packed.
----------------
ZarkoCA wrote:
>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106900/new/
https://reviews.llvm.org/D106900
More information about the llvm-commits
mailing list