[PATCH] D142358: Opting out of Clang 15 ABI Changes for AIX and z/OS

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 13:54:26 PST 2023


hubert.reinterpretcast added inline comments.


================
Comment at: clang/test/SemaCXX/class-layout.cpp:688
 };
 #if defined(CLANG_ABI_COMPAT) && CLANG_ABI_COMPAT <= 15
 _Static_assert(sizeof(t3) == 8, "");
----------------
hubert.reinterpretcast wrote:
> Because z/OS has some of the Clang 16 changes but not all, I think we can't rely on claiming that it uses the Clang 15 ABI for the purposes of the testing (and need to make a change here to say that it does follow the "Clang 15 ABI" for this aspect).
Sorry, my last suggestion for this line should be reverted. z/OS works just like Linux for this right now: no special code needed here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142358/new/

https://reviews.llvm.org/D142358



More information about the cfe-commits mailing list