[all-commits] [llvm/llvm-project] 8a05c2: Add an off-by-default warning to complain about MS...
Oliver Hunt via All-commits
all-commits at lists.llvm.org
Tue May 13 14:00:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a05c20c963db27db0c93b422dab061a0d53a91f
https://github.com/llvm/llvm-project/commit/8a05c20c963db27db0c93b422dab061a0d53a91f
Author: Oliver Hunt <oliver at apple.com>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/bitfield-layout.c
M clang/test/Sema/bitfield-layout_1.c
M clang/test/Sema/mms-bitfields.c
M clang/test/SemaCXX/bitfield.cpp
A clang/test/SemaCXX/ms_struct-bitfield-padding.cpp
Log Message:
-----------
Add an off-by-default warning to complain about MSVC bitfield padding (#117428)
This just adds a warning for bitfields placed next to other bitfields
where the underlying type has different storage. Under the MS struct
bitfield packing ABI such bitfields are not packed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list