]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast: Refactor SimplePath attribute name
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Fri, 24 Mar 2023 10:42:19 +0000 (11:42 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:28:41 +0000 (18:28 +0100)
commitac0132918680200f265bf96fe87644a2cb81c22b
tree01aa44857ac130760af2d91fc6372ca01688c2f5
parentdfb5c1482892cd4ae1330fc1d152d45a0e6bc702
gccrs: ast: Refactor SimplePath attribute name

The getter name was overly complicated and long, this could be
refactored to a shorter name.

gcc/rust/ChangeLog:

* ast/rust-ast-tokenstream.cc (TokenStream::visit): Change
getter name.
* ast/rust-ast.cc (SimplePath::as_string): Change attribute
name.
* ast/rust-ast.h (class SimplePath): Refactor attribute name and
change getter name.

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