summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-18 13:23:37 -0700
committerTom Tromey <tom@tromey.com>2019-01-18 13:23:37 -0700
commit5c92043f2a1b42d52fc2468c2baf0c9cc597c1f8 (patch)
treef8c6cfef724ca88949dff56da2f31b05cb65f122 /src/codegen/helpers.rs
parent42bfc232d3de3600cfa070cc6dab13a45870dc90 (diff)
Fix layout with packed class that only has a vtable
I noticed that a `#pragma packed` class that has only a vtable but no data members is not marked repr(packed). The bug is that is_packed examines data members but not the vtable when applying its heuristic.
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions