summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/references.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-04-29 04:55:46 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-04-29 04:55:46 +0000
commit4ae767ba3d4a501511708298a95d0c660a3ea212 (patch)
tree917466faaf63bf8ecdd21bc4d75abc11ad12fde6 /clang/test/SemaCXX/references.cpp
parentebd3e4a69cb52af96ec9529a35536b2cd0657298 (diff)
downloadbcm5719-llvm-4ae767ba3d4a501511708298a95d0c660a3ea212.tar.gz
bcm5719-llvm-4ae767ba3d4a501511708298a95d0c660a3ea212.zip
PR37275 packed attribute should not apply to base classes
Clang incorrectly applied the packed attribute to base classes. Per GCC's documentation and as can be observed from its behavior, packed only applies to members, not base classes. This change is conditioned behind -fclang-abi-compat so that an ABI break can be avoided by users if desired. Differential Revision: https://reviews.llvm.org/D46218 llvm-svn: 331136
Diffstat (limited to 'clang/test/SemaCXX/references.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud