diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-10-28 10:57:37 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-10-28 10:57:37 +0100 |
commit | 657a9735339f6e5b0723bc24f74ad55d78daae8e (patch) | |
tree | 9a459c90843a7b2ac8bb33517dd95756b991571b /gcc/rust/backend/rust-compile-item.h | |
parent | 161a690d21044f5211ad2b55ae6b06f91bbd9106 (diff) | |
download | gcc-657a9735339f6e5b0723bc24f74ad55d78daae8e.zip gcc-657a9735339f6e5b0723bc24f74ad55d78daae8e.tar.gz gcc-657a9735339f6e5b0723bc24f74ad55d78daae8e.tar.bz2 |
Add support for constants within blocks
BlockExpr's can contain constants these are Items which can exist within
the BlockExpr Stmt list. Items like structs, functions and constants all
inherit from Item so there is some duplication of code but we still
do not support the forward declared Items within a stmt list so the
duplication will need to be fixed as part of that bug.
Fixes #711
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
0 files changed, 0 insertions, 0 deletions