diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-20 13:26:45 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-07-21 09:06:09 +0000 |
commit | dd4c38042c88ec484794678e82d105e06b60502b (patch) | |
tree | ee7508c861d75db1138a29acdb59a393fe45f9c2 /gcc/rust/parse | |
parent | 01c316bc2b661ee7db45c8246727a96a454bfcc1 (diff) | |
download | gcc-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