diff options
| author | bors <bors@rust-lang.org> | 2019-02-06 06:01:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-02-06 06:01:37 +0000 |
| commit | 2596bc1368d1e3d34c9a7841ad87a3100f01cbad (patch) | |
| tree | 228807b2099d942bb3051f3de737e5f45d7614c7 /src/rustllvm/RustWrapper.cpp | |
| parent | 0e5a2099592358317f74ff5cd517a8b6f04cbee1 (diff) | |
| parent | bfcbd235a28f989c0e3c1f0a7542f4e5caaf6e0d (diff) | |
| download | rust-2596bc1368d1e3d34c9a7841ad87a3100f01cbad.tar.gz rust-2596bc1368d1e3d34c9a7841ad87a3100f01cbad.zip | |
Auto merge of #58061 - nnethercote:overhaul-syntax-Folder, r=petrochenkov
Overhaul `syntax::fold::Folder`. This PR changes `syntax::fold::Folder` from a functional style (where most methods take a `T` and produce a new `T`) to a more imperative style (where most methods take and modify a `&mut T`), and renames it `syntax::mut_visit::MutVisitor`. This makes the code faster and more concise.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
