diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-30 17:32:17 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-30 17:32:17 +0000 |
commit | 18857644059c45da6776f1a288eec7b4cf3a844a (patch) | |
tree | 92c2a1d55ece4e06a43deb571d1d9a99d392c672 /lib/Frontend/PCHReader.cpp | |
parent | 5b2bad017b5f86c83aeb80d186696a4c8d59f68f (diff) |
Properly compute the alignment of typedefs that make use of the
"aligned" attribute. Previously, we were skipping over these
attributes when we jumped directly to the canonical type. Now,
ASTContext::getTypeInfo walks through typedefs and other
"non-canonical" types manually, looking for "aligned" attributes on
typedefs.
As part of this change, I moved the GNU-specific logic (such as
determining the alignment of void or of a function pointer) out of the
expression evaluator and into ASTContext::getTypeInfo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReader.cpp')
0 files changed, 0 insertions, 0 deletions