aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-13 11:57:41 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-07-21 09:06:09 +0000
commitd597883ade47e6a612de311fe05c369dde45a221 (patch)
treee9b0c1126af618e7a3727802b2abe2dadc6690e6 /gcc/rust/parse/rust-parse-impl.h
parent361fd8fea7cd4d6926a0b9da8305c2b92d14ed3b (diff)
downloadgcc-d597883ade47e6a612de311fe05c369dde45a221.zip
gcc-d597883ade47e6a612de311fe05c369dde45a221.tar.gz
gcc-d597883ade47e6a612de311fe05c369dde45a221.tar.bz2
resolve: Convert identifier to a SimplePath
We wish to remove node ids from identifiers, because they do not make that much sense and are only used for procedural macros anyway. This means we either have to wrap those into a structure or converting them to an existing structure that already have a node id. This commit convert those meta word identifiers to a meta path SimplePath. gcc/rust/ChangeLog: * ast/rust-ast.h: Add new constructor for SimplePath from an identifier. * expand/rust-expand-visitor.cc (get_traits_to_derive): Add conversion. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions