diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-05-03 10:42:36 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-05-11 09:38:21 +0200 |
commit | c24227d377fea090cf019a40f14308b52bc5af82 (patch) | |
tree | 3cea17d64864a7d64febeb407c116352e764d3a5 /gcc/gimple-range-edge.cc | |
parent | 87dfca85c99477d442d62373bd477b87f95857fe (diff) | |
download | gcc-c24227d377fea090cf019a40f14308b52bc5af82.zip gcc-c24227d377fea090cf019a40f14308b52bc5af82.tar.gz gcc-c24227d377fea090cf019a40f14308b52bc5af82.tar.bz2 |
converter: Add from_tokentree function
Add the from_tokentree function which converts a tokentree to it's
token representation. This function was previously inlined in the
from_tokenstream function but I wanted to keep things clear and
coherent.
gcc/rust/ChangeLog:
* util/rust-token-converter.cc (from_tokenstream): Add call to
from_tokentree.
(from_tokentree): Add implementation, from the from_tokenstream
function.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/gimple-range-edge.cc')
0 files changed, 0 insertions, 0 deletions