diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-07-04 16:39:28 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-07-05 06:29:06 +0200 |
| commit | 952dded81a0a5c51ce802ae6753dd69f45e9ce61 (patch) | |
| tree | 6c65fef2c93c75c7b50f5f58f971e36180aa8422 /src/rustllvm/RustWrapper.cpp | |
| parent | 9f2a43c1b518a674ef4bb368732ee8dac3c1f779 (diff) | |
| download | rust-952dded81a0a5c51ce802ae6753dd69f45e9ce61.tar.gz rust-952dded81a0a5c51ce802ae6753dd69f45e9ce61.zip | |
Refactored VecPerParamSpace to hide exposure of `Vec` representation.
This basically meant changing the interface so that no borrowed `&Vec` is exposed, by hiding `fn get_vec` and `fn get_mut_vec` and revising `fn all_vecs`. Instead, clients should use one of the other methods; `get_slice`, `pop`, `truncate`, `replace`, `push_all`, or `is_empty_in`, which should work for any case currently used in rustc.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
