[Clang][Sema][AIX][PowerPC] Emit byval alignment warning only when struct is passed to a function
Previous warning went on whenever a struct with a struct member with alignment => 16 was declared. This led to too many false positives and led to diagnostic lit failures due to it being emitted too frequently. Only emit the warning when such a struct and that struct contains a member that has an alignment of 16 bytes is passed to a caller function since this is where the potential binary compatibility issue with XL 16.1.0 and older exists. Reviewed By: sfertile, aaron.ballman Differential Revision: https://reviews.llvm.org/D118350
Loading
Please sign in to comment