]> gcc.gnu.org Git - gcc.git/commit
Merge #781
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 2 Nov 2021 13:54:14 +0000 (13:54 +0000)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 13:54:14 +0000 (13:54 +0000)
commit5f0df4812c37fc428b5508e019e9fb7f8a7b77b1
tree2a2bef1a866b93287a48990c09a4243d0ab41c0f
parent09af9b16b436606fa8ced0aa6cc111555bdc3da7
parentfc5f8d746362a42adc52e538dec248bd2992a794
Merge #781

781: Add missing typechecking for enums r=philberty a=philberty

This PR splits up the Algebraic data type into one which can support many variants which is what an enum is.
It then changes the type checking for construction of ADT's to use the VariantDef structures as required. This
does not fully implement but does allow us to have most of the type checking in place to start code-generation work.

This combines work from Mark Wielaard (https://code.wildebeest.org/git/user/mjw/gccrs/commit/?h=enum-type) and Philip

Addresses #79

Co-authored-by: Mark Wielaard <mark@klomp.org>
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
This page took 0.062997 seconds and 5 git commands to generate.