diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-02-24 23:34:17 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-02-24 23:34:17 +0000 |
commit | 8b6bd571c8c59a2b518b3e5f25431870792b1bd9 (patch) | |
tree | 375ac0008e9d502ca4c8b27ff23b7e7568887f0a /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | aeff8a9c05b1976344c9c865a31071ae3501ce72 (diff) | |
download | bcm5719-llvm-8b6bd571c8c59a2b518b3e5f25431870792b1bd9.tar.gz bcm5719-llvm-8b6bd571c8c59a2b518b3e5f25431870792b1bd9.zip |
Sema: Make getPreferredTypeAlign respect alignments specified with an aligned attribute on a typedef
When calculating the preferred alignment of a type, consider if a alignment
attribute came from a typedef declaration. If one did, do not naturally align
the type.
Patch by Stephan Tolksdorf, with a little tweaking and an additional testcase by me.
llvm-svn: 202088
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions