]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add const getter for tokentrees
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 6 Sep 2023 12:09:25 +0000 (14:09 +0200)
committerPhilip Herron <philip.herron@embecosm.com>
Tue, 31 Oct 2023 11:39:08 +0000 (11:39 +0000)
commitb5118d1a6aa6dc2256d3f4620eb3185389531689
treeb09f61a1ae1b9063ca84c31fe8bfa59824f8b0a4
parent327a285500ac640f1d8257d11ea56bf4ab65ee47
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