llvm-project/clang/include
David Majnemer 34b5749989 MS ABI: Consider alignment attributes on typedefs for layout
The MS ABI has a notion of 'required alignment' for fields; this
alignment supercedes pragma pack directives.

MSVC takes into account alignment attributes on typedefs when
determining whether or not a field has a certain required alignment.

Do the same in clang by tracking whether or not we saw such an attribute
when calculating the type's bitwidth and alignment.

This fixes PR20418.

Reviewers: rnk

Differential Revision: http://reviews.llvm.org/D4714

llvm-svn: 214274
2014-07-30 01:30:47 +00:00
..
clang MS ABI: Consider alignment attributes on typedefs for layout 2014-07-30 01:30:47 +00:00
clang-c Preserve libclang ABI compatibility with the 3.5 release 2014-07-24 18:22:15 +00:00
CMakeLists.txt
Makefile