]> granicus.if.org Git - clang/commit
Make sizeof and __alignof work correctly with packed structs.
authorAnders Carlsson <andersca@mac.com>
Sat, 16 Feb 2008 01:20:23 +0000 (01:20 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 16 Feb 2008 01:20:23 +0000 (01:20 +0000)
commit6a24acbb3dbb3bea9426716bee6ad6023ad15f3f
treed400acbc45d8e1c6cd631728e6f731c888383683
parentd70d0b05e5143be9e952eceb5aad7914b2ecab97
Make sizeof and __alignof work correctly with packed structs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47202 91177308-0d34-0410-b5e6-96231b3b80d8
AST/ASTContext.cpp
AST/Expr.cpp
include/clang/AST/Decl.h
test/Sema/struct-packed-align.c [new file with mode: 0644]