aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-tree.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-01-17 16:44:23 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-02-08 12:02:40 +0100
commitb1de4bb869845c6c7dadbc1cf84626e922e80ab9 (patch)
tree35ea5bd027b35bf4ac879a632ee9ea99e3705b7b /gcc/rust/backend/rust-tree.cc
parent51533ca7651312952cc5cb5ee9f2fb7f6668c85c (diff)
downloadgcc-b1de4bb869845c6c7dadbc1cf84626e922e80ab9.zip
gcc-b1de4bb869845c6c7dadbc1cf84626e922e80ab9.tar.gz
gcc-b1de4bb869845c6c7dadbc1cf84626e922e80ab9.tar.bz2
expansion: Add `get_token_slice` to `MacroInvocLexer` class
gcc/rust/ChangeLog: * expand/rust-macro-invoc-lexer.cc (MacroInvocLexer::get_token_slice): Add API to retrieve token slices when lexing macro expansions. * expand/rust-macro-invoc-lexer.h: Declare `get_token_slice`.
Diffstat (limited to 'gcc/rust/backend/rust-tree.cc')
0 files changed, 0 insertions, 0 deletions