diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2025-07-03 21:55:12 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2025-07-05 16:23:07 -0700 |
| commit | a7382eae3fccb2db5353640454c5d09840d3089e (patch) | |
| tree | c65cec202172eba0d4cd93babe8639213f634cfa /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 6b71399d3850216f9fab05bc99d63854df731e6a (diff) | |
| download | rust-a7382eae3fccb2db5353640454c5d09840d3089e.tar.gz rust-a7382eae3fccb2db5353640454c5d09840d3089e.zip | |
mbe: Add a helper to parse a single `TokenTree`
The parser repeatedly invokes the `parse` function, constructing a one-entry vector, and assuming that the return value will be a one-entry vector. Add a helper for that case. This will simplify adding additional callers, and put all the logic in one place to allow potential future simplification of the one-TT case.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
