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 | ef462e6bb0651f2a8b8df29134e43a59476522f8 (patch) | |
tree | 1cd7003e0fb5935341bb80e6b826861848764e02 /llvm/utils/TableGen/TGParser.cpp | |
parent | f45e07d7663d4663472ff1ab64b41008ea10dbcd (diff) | |
download | bcm5719-llvm-ef462e6bb0651f2a8b8df29134e43a59476522f8.tar.gz bcm5719-llvm-ef462e6bb0651f2a8b8df29134e43a59476522f8.zip |
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.
llvm-svn: 70497
Diffstat (limited to 'llvm/utils/TableGen/TGParser.cpp')
0 files changed, 0 insertions, 0 deletions