diff options
author | John McCall <rjmccall@apple.com> | 2010-10-08 18:24:19 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-10-08 18:24:19 +0000 |
commit | 4081a5c5f1381c4ec77f8ab3866693917e4329c4 (patch) | |
tree | bad605bb8a474ce0e4167dba8a134844d6c1bd8e /lib/CodeGen/CodeGenTypes.cpp | |
parent | 67c32268c0891b539fe9da26d10579e2ebfc9b38 (diff) |
__attribute__((aligned(n))) directly specifies the alignment of a declaration
unless it's a non-packed field, in which case it can only increase the
alignment. [[align]] effectively works the same way for well-formed code
(because it's ill-formed for [[align]] to decrease alignment ever).
Fixes rdar://problem/8335865
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions