about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-05-04 06:38:15 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-05-13 17:16:02 +1000
commitb1aae607c56d26333589dc45daa20859950bf6e1 (patch)
tree5176bd1545845ef82e9d27fb88be013789e3514d /src/rustllvm/RustWrapper.cpp
parent4465b2fbf3487e8f45e2eee4da187776574febec (diff)
downloadrust-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