]> git.nickg.me.uk Git - nvc.git/commit
vhpi: Move BaseType to c_typeDecl
authorSean Anderson <seanga2@gmail.com>
Mon, 29 May 2023 17:09:37 +0000 (13:09 -0400)
committerNick Gasson <nick@nickg.me.uk>
Sun, 4 Jun 2023 22:00:34 +0000 (22:00 +0000)
commit03b1a44a51c36fcf41709894ed64651fbcc92e71
tree2add15390bbf023c53055fc645e6648badd3f8e1
parent8d5e273567e08274db9019a154a34995582183f8
vhpi: Move BaseType to c_typeDecl

Each Type has a BaseType. Except for subtypes, the BaseType is the Type
itself. In preparation for adding subTypeDecls, move BaseType to
typeDecl. This allows us to calculate the BaseType when necessary,
removing the need to have a redundant BaseType reference.
src/vhpi/vhpi-model.c