Opting out of Clang 16 ABI Changes for AIX and z/OS
authorNicole Rabjohn <nicolerabjohn@gmail.com>
Tue, 24 Jan 2023 05:00:27 +0000 (00:00 -0500)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Tue, 24 Jan 2023 06:14:05 +0000 (01:14 -0500)
commit0f5099cd94226479fe30b4fc2d6a9743ebe2b12b
treeac262c8e9609555515222b3414d5b95308783425
parent848978db4ccb1d2776f434b0a7714a8f115f9c2d
Opting out of Clang 16 ABI Changes for AIX and z/OS

There is already a GCC compatibility gap on AIX, & GCC compatibility is
not a concern on z/OS. GCC compatibility is not sufficient motivation
for breaking ABI on AIX and z/OS. This opts out of changes introduced in
https://reviews.llvm.org/D119051. For AIX only, also opt out of D117616
(which z/OS had picked up at the time ABI stabilization occurred).

Differential Revision: https://reviews.llvm.org/D142358
clang/docs/ReleaseNotes.rst
clang/lib/AST/RecordLayoutBuilder.cpp
clang/lib/Basic/Targets/OSTargets.h
clang/test/SemaCXX/class-layout.cpp