aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-04-03 18:48:45 +0300
committerCohenArthur <arthur.cohen@embecosm.com>2023-04-17 08:46:19 +0000
commitbfd8e24c2ad0034d2ad0ca59d680d0f9c1250691 (patch)
tree9e02bb426e64e7bae3bebb6b670eaeb6521960d1 /gcc/rust/resolve
parent8129f20c818a5519491d7291a5e236bcb98845df (diff)
downloadgcc-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