diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-01-13 16:28:57 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-01-13 22:10:36 -0500 |
| commit | a961e6785c7ed33a532bb6172ae0c95f44db5726 (patch) | |
| tree | dc59d2e6fa8795734ec9cedb16dcd09b53ae338f /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 9bc8b00b4a4e38ccbc3aeec2c123538973c67eba (diff) | |
| download | rust-a961e6785c7ed33a532bb6172ae0c95f44db5726.tar.gz rust-a961e6785c7ed33a532bb6172ae0c95f44db5726.zip | |
Set tokens on AST node in `collect_tokens`
A new `HasTokens` trait is introduced, which is used to move logic from the callers of `collect_tokens` into the body of `collect_tokens`. In addition to reducing duplication, this paves the way for PR #80689, which needs to perform additional logic during token collection.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
