diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-04-03 18:48:45 +0300 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-04-17 08:46:19 +0000 |
commit | bfd8e24c2ad0034d2ad0ca59d680d0f9c1250691 (patch) | |
tree | 9e02bb426e64e7bae3bebb6b670eaeb6521960d1 /gcc/rust/resolve | |
parent | 8129f20c818a5519491d7291a5e236bcb98845df (diff) | |
download | gcc-bfd8e24c2ad0034d2ad0ca59d680d0f9c1250691.zip gcc-bfd8e24c2ad0034d2ad0ca59d680d0f9c1250691.tar.gz gcc-bfd8e24c2ad0034d2ad0ca59d680d0f9c1250691.tar.bz2 |
ast: Add AST::Kind::IDENTIFIER
...and return it from IdentifierExpr::get_ast_kind (). This enables
other code to dynamically test whether an expression is in fact an
IdentifierExpr.
gcc/rust/ChangeLog:
* ast/rust-ast.h: Add AST::Kind::IDENTIFIER
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions