diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-05-04 06:38:15 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-05-13 17:16:02 +1000 |
| commit | b1aae607c56d26333589dc45daa20859950bf6e1 (patch) | |
| tree | 5176bd1545845ef82e9d27fb88be013789e3514d /src/rustllvm/RustWrapper.cpp | |
| parent | 4465b2fbf3487e8f45e2eee4da187776574febec (diff) | |
| download | rust-b1aae607c56d26333589dc45daa20859950bf6e1.tar.gz rust-b1aae607c56d26333589dc45daa20859950bf6e1.zip | |
Tweak naming and ordering in `StringReader::bump()`.
This patch removes the "old"/"new" names in favour of "foo"/"next_foo",
which matches the field names.
It also moves the setting of `self.{ch,pos,next_pos}` in the common case
to the end, so that the meaning of "foo"/"next_foo" is consistent until
the end.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
