summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGParser.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
commitef462e6bb0651f2a8b8df29134e43a59476522f8 (patch)
tree1cd7003e0fb5935341bb80e6b826861848764e02 /llvm/utils/TableGen/TGParser.cpp
parentf45e07d7663d4663472ff1ab64b41008ea10dbcd (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud