diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-06-04 09:03:43 -0600 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-06-09 14:09:36 -0600 |
| commit | b1c357e0c366f5fb865151a9dd144413b4bf6911 (patch) | |
| tree | 9c0c883525300d8ad063b6b3eba2f07f7740c7d5 /src/rustllvm/RustWrapper.cpp | |
| parent | a8594400927c7363d24625ea1521b89c344ec03d (diff) | |
| download | rust-b1c357e0c366f5fb865151a9dd144413b4bf6911.tar.gz rust-b1c357e0c366f5fb865151a9dd144413b4bf6911.zip | |
Introduce InnerSpan abstraction
This should be used when trying to get at subsets of a larger span, especially when the larger span is not available in the code attempting to work with those subsets (especially common in the fmt_macros crate). This is usually a good replacement for (BytePos, BytePos) and (usize, usize) tuples. This commit also removes from_inner_byte_pos, since it took usize arguments, which is error prone.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
