aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2020-03-22 23:47:01 -0700
committerAkira Hatanaka <ahatanaka@apple.com>2020-05-15 00:59:03 -0700
commit854f5f332af4640d9425e9a94442629e4f5a3f98 (patch)
tree13dc8d9a199467121ea6420f0035cd9d7cb799c4 /clang/lib/Frontend/CompilerInvocation.cpp
parentf58e78f9920531f85d98e8041f6967eeb1bd0d3a (diff)
downloadllvm-854f5f332af4640d9425e9a94442629e4f5a3f98.zip
llvm-854f5f332af4640d9425e9a94442629e4f5a3f98.tar.gz
llvm-854f5f332af4640d9425e9a94442629e4f5a3f98.tar.bz2
[Sema] Teach -Wcast-align to compute an accurate alignment using the
alignment information on VarDecls in more cases This commit improves upon https://reviews.llvm.org/D21099. The code that computes the source alignment now understands array subscript expressions, binary operators, derived-to-base casts, and several more expressions. rdar://problem/59242343 Differential Revision: https://reviews.llvm.org/D78767
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions