]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast: Output union's outer attributes
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 4 Apr 2023 11:53:34 +0000 (13:53 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:28:43 +0000 (18:28 +0100)
commitd8a7cee1ea6469615dc06d5d786182a279042637
treeb18e2d5b328e010c73a74569265053e84ab9e486
parent44e67ceee62cf08dd2e02886c3379263eb7d64e3
gccrs: ast: Output union's outer attributes

Output a union's outer attributes in a tokenstream.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (TokenStream::visit): Add visitor
to the union's outer attributes.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-tokenstream.cc