diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-31 19:19:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-31 19:19:50 +0200 |
| commit | 0171fe55986abd7e9ac33839db1676fd3ed6c03a (patch) | |
| tree | 55e75e3988fd19867ef0b73c980add642145605b /src/rustllvm/ArchiveWrapper.cpp | |
| parent | 245a0afb52d18e906c1f042165559c57261e754a (diff) | |
| parent | 5b7f4e9e2106f5e83fc650e8185d59a57e27ad09 (diff) | |
| download | rust-0171fe55986abd7e9ac33839db1676fd3ed6c03a.tar.gz rust-0171fe55986abd7e9ac33839db1676fd3ed6c03a.zip | |
Rollup merge of #59519 - eddyb:layout-variants-refactor, r=oli-obk
rustc_target: factor out common fields of non-Single Variants. @tmandry and I were discussing ways to generalize the current variants/discriminant layout to allow more fields in the "`enum`" (or another multi-variant types, such as potentially generator state, in the future), shared by all variants, than just the tag/niche discriminant. This refactor should make it easier to extend multi-variant layouts, as nothing is duplicating anymore between "tagged enums" and "niche-filling enums". r? @oli-obk
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
