]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add const getter for tokentrees
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 6 Sep 2023 12:09:25 +0000 (14:09 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:31 +0000 (19:09 +0100)
commit2d2fa103e125685f44e41f5500a6a2e98ffd91fb
tree5a1220ab4b5f1eb8c1f3888d62d5d82e4e706846
parent193b0780d55c6ee93cb4a677e6bacf8c1da87021
gccrs: Add const getter for tokentrees

We often need to retrieve the underlying tokentree without modifying it,
this getter will help achieve this.

gcc/rust/ChangeLog:

* ast/rust-ast.h: Add const getter.

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