aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-20 13:26:45 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-07-21 09:06:09 +0000
commitdd4c38042c88ec484794678e82d105e06b60502b (patch)
treeee7508c861d75db1138a29acdb59a393fe45f9c2 /gcc/rust/parse
parent01c316bc2b661ee7db45c8246727a96a454bfcc1 (diff)
downloadgcc-dd4c38042c88ec484794678e82d105e06b60502b.zip
gcc-dd4c38042c88ec484794678e82d105e06b60502b.tar.gz
gcc-dd4c38042c88ec484794678e82d105e06b60502b.tar.bz2
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/parse')
0 files changed, 0 insertions, 0 deletions