diff options
| author | Yan Wang <yawanng@google.com> | 2017-08-01 21:41:39 +0000 |
|---|---|---|
| committer | Yan Wang <yawanng@google.com> | 2017-08-01 21:41:39 +0000 |
| commit | d79f3f630fbcbc1e472f698c2baaff467661cb00 (patch) | |
| tree | 28c2cc7ed7d16f3c2b6bcc29e01d469c02e28fb4 /llvm/test | |
| parent | 51ca757e610b326153f99102d2659d3a141473e1 (diff) | |
| download | bcm5719-llvm-d79f3f630fbcbc1e472f698c2baaff467661cb00.tar.gz bcm5719-llvm-d79f3f630fbcbc1e472f698c2baaff467661cb00.zip | |
[clang] Change the condition of unnecessary packed warning
Summary:
Change the condition of this unnecessary packed warning. The packed is unnecessary when
1. the alignment of the struct/class won't alter.
2. the size is unchanged.
3. the offset of each field is the same.
Remove all field-level warning.
Reviewers: chh, akyrtzi, rtrieu
Reviewed By: chh
Subscribers: rsmith, srhines, cfe-commits, xazax.hun
Differential Revision: https://reviews.llvm.org/D34114
llvm-svn: 309750
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions

