about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2014-02-28 12:53:36 +1300
committerAlex Crichton <alex@alexcrichton.com>2014-02-27 21:04:05 -0800
commita8d57a26dfe1c8e44e9af1923c900f147d13889b (patch)
tree6b251a76724c67aa0f3b7770f2138bea34bdf033 /src/rustllvm/ExecutionEngineWrapper.cpp
parent53a3f281158bf584361ad63400ba0b4a88472b23 (diff)
downloadrust-a8d57a26dfe1c8e44e9af1923c900f147d13889b.tar.gz
rust-a8d57a26dfe1c8e44e9af1923c900f147d13889b.zip
Fix bytepos_to_file_charpos.
Make bytepos_to_charpos relative to the start of the filemap rather than its previous behaviour which was to be realtive to the start of the codemap, but ignoring multi-byte chars in earlier filemaps. Rename to bytepos_to_file_charpos. Add tests for multi-byte chars.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions