diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-10-29 17:05:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-29 17:05:17 +0100 |
| commit | 151db2559949dd09f58b5e5a0f741000c31c66e9 (patch) | |
| tree | 08df1c0a6dad587b4a57dda28098ca899da42eb7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 7fa9e3968222d5c0c81e4d08aae7a1487d3647ef (diff) | |
| parent | 47dad31a04724b969d260c32f136bda47fcba63f (diff) | |
| download | rust-151db2559949dd09f58b5e5a0f741000c31c66e9.tar.gz rust-151db2559949dd09f58b5e5a0f741000c31c66e9.zip | |
Rollup merge of #78423 - tgnottingham:caching_source_map_bounds_check, r=oli-obk
rustc_span: improve bounds checks in byte_pos_to_line_and_col The effect of this change is to consider edge-case spans that start or end at the position one past the end of a file to be valid during span hashing and encoding. This change means that these spans will be preserved across incremental compilation sessions when they are part of a serialized query result, instead of causing the dummy span to be used.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
