summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-02-24 23:34:17 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-02-24 23:34:17 +0000
commit8b6bd571c8c59a2b518b3e5f25431870792b1bd9 (patch)
tree375ac0008e9d502ca4c8b27ff23b7e7568887f0a /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentaeff8a9c05b1976344c9c865a31071ae3501ce72 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud