commit | 4081a5c5f1381c4ec77f8ab3866693917e4329c4 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Oct 08 18:24:19 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Oct 08 18:24:19 2010 +0000 |
tree | bad605bb8a474ce0e4167dba8a134844d6c1bd8e | |
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