]> granicus.if.org Git - clang/commit
More ms_struct bitfield stuff:
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 4 May 2011 18:51:37 +0000 (18:51 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 4 May 2011 18:51:37 +0000 (18:51 +0000)
commit9b3acaa32548d0ce78b9c39a3911397f6738a47c
tree687b5f76cca4c859622e1797757182c3dbb3f147
parent36615b818637e0e378ff9faa9561fe025ae3c9bf
More ms_struct bitfield stuff:
Adjacent bit fields are packed into the same 1-, 2-, or
4-byte allocation unit if the integral types are the same
size. // rdar://8823265.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130851 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/AST/RecordLayoutBuilder.cpp
test/CodeGen/ms_struct.c [new file with mode: 0644]