commit | c6004fd56e41abb6ea4804b1d57bf5b571a037bb | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@apple.com> | Wed Nov 30 19:42:03 2016 +0000 |
committer | Akira Hatanaka <ahatanaka@apple.com> | Wed Nov 30 11:53:12 2016 -0800 |
tree | 112f15035d594a2ea2b4ca7c7896fcc41fd042a4 | |
parent | 7c56a6a3dc64662f9aab1e80ec5308f3c50a8c8e [diff] |
[Sema] Teach -Wcast-align to look at the aligned attribute of the declared variables. Teach Sema to check the aligned attribute attached to variable declarations so that it doesn't issue spurious warnings. rdar://problem/26517471 Differential revision: https://reviews.llvm.org/D21099 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288267 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 43b3a20ea84ade68a8827027b6e09e2174d93f7c)