]> gcc.gnu.org Git - gcc.git/commit
gccrs: ast: Fix attribute tokenstreams
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 4 Apr 2023 13:56:02 +0000 (15:56 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:28:44 +0000 (18:28 +0100)
commit21c46e84e8b461a2d80b6fb6c2a006a8552a52a6
tree09e4f509cedb4dced3ce76da7bd91b599d8d3ca6
parentd8a7cee1ea6469615dc06d5d786182a279042637
gccrs: ast: Fix attribute tokenstreams

Attributes were not converted to a correct tokenstream, furthermore meta
items containers and token trees attribute arguments were not even
implemented. This commit fix the literal attribute type and implement
both unimplemented types.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (TokenStream::visit): Fix existing
and implement remaining attribute visitors.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-tokenstream.cc
This page took 0.060387 seconds and 5 git commands to generate.