summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-30 17:32:17 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-30 17:32:17 +0000
commit18857644059c45da6776f1a288eec7b4cf3a844a (patch)
tree92c2a1d55ece4e06a43deb571d1d9a99d392c672 /lib/CodeGen/CodeGenModule.cpp
parent5b2bad017b5f86c83aeb80d186696a4c8d59f68f (diff)
downloadclang-18857644059c45da6776f1a288eec7b4cf3a844a.tar.gz
clang-18857644059c45da6776f1a288eec7b4cf3a844a.tar.bz2
clang-18857644059c45da6776f1a288eec7b4cf3a844a.tar.xz
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/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions