[cfe-commits] [PATCH] Support __attribute__((packed)) at the end of a struct in C++

Justin Bogner mail at justinbogner.com
Wed Mar 17 22:43:05 PDT 2010


The attribute in `struct foo { ... } __attribute__((packed));` is being
ignored when in C++ mode, but handled correctly in C mode. It was simply
being omitted in Sema::ActOnFinishCXXMemberSpecification, so I've added
it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: packed-after-struct.patch
Type: text/x-diff
Size: 4545 bytes
Desc: Support __attribute__((packed)) at the end of a struct	in C++
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100317/8127b719/attachment.patch>


More information about the cfe-commits mailing list