diff options
| author | bors <bors@rust-lang.org> | 2024-09-18 06:21:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-18 06:21:56 +0000 |
| commit | c47a65600526b090a3b2ab32ecca849787caaac8 (patch) | |
| tree | 9980a1c16af3853cc2b3361649f935982660c386 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | b9be0f2cb6024d5e4e65943d551ed5c5aa7dbd89 (diff) | |
| parent | d34cbe040df9bce2aa3f6f7cf62633484ad31bf1 (diff) | |
| download | rust-c47a65600526b090a3b2ab32ecca849787caaac8.tar.gz rust-c47a65600526b090a3b2ab32ecca849787caaac8.zip | |
Auto merge of #18134 - DropDemBits:source-change-sed, r=lnicola
internal: Extend SourceChangeBuilder to make make working with `SyntaxEditor`s easier Part of #15710 Adds additional `SourceChangeBuilder` methods to make it easier to migrate assists to `SyntaxEditor`. As `SyntaxEditor`s are composable before they're completed, each created `SyntaxEditor` can represent logical groups of changes (e.g. independently performing renames of uses in a file from inserting the new item). Once a group of changes is considered "done", `SourceChangeBuilder::add_file_edits` is used to submit a set of changes to be part of the source change. `SyntaxAnnotation`s are used to indicate where snippets are attached to, and using `SyntaxAnnotation`s also means that we can attach snippets at any time, rather than being required to be after all edits.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
