about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-09-30 16:51:35 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-10-03 11:42:29 +1100
commita822d08bd1145f14838b5483582b574c8c12df52 (patch)
treef92987ae868873841e1b1bc00b6cb4effbf87497 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent8d0754d602d8d6fd2b357d98ee0bdaf2382b937a (diff)
downloadrust-a822d08bd1145f14838b5483582b574c8c12df52.tar.gz
rust-a822d08bd1145f14838b5483582b574c8c12df52.zip
Remove `TokenStreamBuilder`.
It's now only used in one function. Also, the "should we glue the
tokens?" check is only necessary when pushing a `TokenTree::Token`, not
when pushing a `TokenTree::Delimited`.

As part of this, we now do the "should we glue the tokens?" check
immediately, which avoids having look back at the previous token. It
also puts all the logic dealing with token gluing in a single place.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions