]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add locus getters
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Fri, 27 Jun 2025 11:31:17 +0000 (13:31 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:36:52 +0000 (16:36 +0200)
commit352f980360076a7bd4ed17d9eb0fb828ab08a3b9
tree965aba29412918f9722bed5fa49fc2f4b82bde06
parent046992d0531511b28d70a6afb373a1bd2f4cf4c3
gccrs: Add locus getters

gcc/rust/ChangeLog:

* ast/rust-expr.h: Add getter to locus field.
* ast/rust-pattern.h (tokenid_to_rangekind): Likewise.
* hir/tree/rust-hir-item.h: Likewise.
* hir/tree/rust-hir-visibility.h: Likewise.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-expr.h
gcc/rust/ast/rust-pattern.h
gcc/rust/hir/tree/rust-hir-item.h
gcc/rust/hir/tree/rust-hir-visibility.h