Author: Aiden Grossman Date: 2026-03-11T19:04:52-07:00 New Revision: 0e45e690c1ae86cb7eced7418f34b6fb4b989577
URL: https://github.com/llvm/llvm-project/commit/0e45e690c1ae86cb7eced7418f34b6fb4b989577 DIFF: https://github.com/llvm/llvm-project/commit/0e45e690c1ae86cb7eced7418f34b6fb4b989577.diff LOG: [Clang][layout] Update tests after #182792 (#186019) \#182792 makes it so that these structs have an alignment of 1. This needs to be fixed in a recently added test (landed after the most recent premerge run of the test). This test update is expected behavior. Added: Modified: clang/test/Layout/ms-x86-bitfields-overflow.c Removed: ################################################################################ diff --git a/clang/test/Layout/ms-x86-bitfields-overflow.c b/clang/test/Layout/ms-x86-bitfields-overflow.c index a6b2461a4d438..6d08d765d9d2c 100644 --- a/clang/test/Layout/ms-x86-bitfields-overflow.c +++ b/clang/test/Layout/ms-x86-bitfields-overflow.c @@ -20,12 +20,12 @@ struct __attribute__((packed, aligned(1))) B { // CHECK-LABEL: 0 | struct A{{$}} // CHECK-NEXT:0:0-1 | _BitInt(250) f1 // CHECK-NEXT:0:2-3 | _BitInt(250) f2 -// CHECK-NEXT: | [sizeof=32, align=32] +// CHECK-NEXT: | [sizeof=32, align=1] // CHECK-LABEL: 0 | struct B{{$}} // CHECK-NEXT:0:0-1 | _BitInt(500) f1 // CHECK-NEXT:0:2-256 | _BitInt(500) f2 -// CHECK-NEXT: | [sizeof=64, align=64] +// CHECK-NEXT: | [sizeof=64, align=1] int x[sizeof(struct A)]; int y[sizeof(struct B)]; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
