aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-expr.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-20 13:26:45 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:55:58 +0100
commit5920e4b7579c664c17a07d126c7fb09f4d786849 (patch)
tree5d0ac4e30b459b977ea648e75b6e97e5e6316f28 /gcc/rust/hir/tree/rust-hir-expr.h
parent4d5f20fdbf095663ce829b42a22819093f4efc8e (diff)
downloadgcc-5920e4b7579c664c17a07d126c7fb09f4d786849.zip
gcc-5920e4b7579c664c17a07d126c7fb09f4d786849.tar.gz
gcc-5920e4b7579c664c17a07d126c7fb09f4d786849.tar.bz2
gccrs: ast: Add manual dispatch for meta item downcasting
Several meta items shall be downcasted in various places, this commit introduces values to dispatch on. gcc/rust/ChangeLog: * ast/rust-ast.h (class MetaItem): Add MetaItem dispatch values. * ast/rust-expr.h: Add LitExpr and PathLit dispatch. * ast/rust-macro.h: Add remaining dispatch getters. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions