aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-context.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-10-28 10:57:37 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-10-28 10:57:37 +0100
commit657a9735339f6e5b0723bc24f74ad55d78daae8e (patch)
tree9a459c90843a7b2ac8bb33517dd95756b991571b /gcc/rust/backend/rust-compile-context.h
parent161a690d21044f5211ad2b55ae6b06f91bbd9106 (diff)
downloadgcc-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-context.h')
0 files changed, 0 insertions, 0 deletions