diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-07-17 14:02:37 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-07-19 08:42:33 +1000 |
| commit | 4158a1c48fb19bfce31e4001593faa2353b7201b (patch) | |
| tree | 2ed3024ed0c2863da59b079a2854ae804a99e09e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 9d908a2877ec54101e3f4c4b7d5e13facba9d3e0 (diff) | |
| download | rust-4158a1c48fb19bfce31e4001593faa2353b7201b.tar.gz rust-4158a1c48fb19bfce31e4001593faa2353b7201b.zip | |
Only check `force_collect` in `collect_tokens_trailing_token`.
There are three places where we currently check `force_collect` and call `collect_tokens_no_attrs` for `ForceCollect::Yes` and a vanilla parsing function for `ForceCollect::No`. But we can instead just pass in `force_collect` and let `collect_tokens_trailing_token` do the appropriate thing.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
