diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-03 11:04:04 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-03-03 21:45:52 +1100 |
| commit | 643ba50004996b474c073e58d70fdbc9f797a8bd (patch) | |
| tree | 9f364925885c75a348aef2421726b38e8903d73a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b9fabc3f9cce1e29cd54f1809b4ac8dc3c52980f (diff) | |
| download | rust-643ba50004996b474c073e58d70fdbc9f797a8bd.tar.gz rust-643ba50004996b474c073e58d70fdbc9f797a8bd.zip | |
Introduce `MatcherPosRepetition`.
There are three `Option` fields in `MatcherPos` that are only used in tandem. This commit combines them, making the code slightly easier to read. (It also makes clear that the `sep` field arguably should have been `Option<Option<Token>>`!)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
