aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-04-21 14:32:21 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-04-21 16:06:18 +0100
commitdd9e4c1e0ca0b14388a3cd43f18a4e1a7aebe6e5 (patch)
tree234a6e1ecdbb1b0a185bf94c50121959926e90cc /gcc/rust/parse/rust-parse-impl.h
parentfe10ca37aba8f3cb9bfaa9dd01bdb1329317cf21 (diff)
downloadgcc-dd9e4c1e0ca0b14388a3cd43f18a4e1a7aebe6e5.zip
gcc-dd9e4c1e0ca0b14388a3cd43f18a4e1a7aebe6e5.tar.gz
gcc-dd9e4c1e0ca0b14388a3cd43f18a4e1a7aebe6e5.tar.bz2
Add name and type resolution for TuplePatterns
This adds the relevant pattern resolution steps to match up the TuplePattern. This patch leaves out type resolution on TupleRange Patterns for now. Some thought is needed to figure out how do have a canonical algorithm for code-generation here so splitting this up makes sense for now. This patch extracts the type-resolution handling for HIR::LiteralExpr to have a generic function to resolve the HIR::Literal which is used within HIR::LiteralExpr and HIR::LiteralPattern. Addresses #1081
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions