Skip to content
Commit 854f5f33 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[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
parent f58e78f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment