about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorChristiaan Dirkx <christiaan@dirkx.email>2020-11-03 19:26:31 +0100
committerChristiaan Dirkx <christiaan@dirkx.email>2020-11-07 16:15:48 +0100
commit94d73d4403ef98b3b38b8e3035c2eac87fb900f9 (patch)
tree25f3a6e8a3d5156ea60b062ee287fa4c43caf99d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta601302ff0217b91589b5a7310a8a23adb843fdc (diff)
downloadrust-94d73d4403ef98b3b38b8e3035c2eac87fb900f9.tar.gz
rust-94d73d4403ef98b3b38b8e3035c2eac87fb900f9.zip
Refactor `parse_prefix` on Windows
Refactor `get_first_two_components` to `get_next_component`.

Fixes the following behaviour of `parse_prefix`:
 - series of separator bytes in a prefix are correctly parsed as a single separator
 - device namespace prefixes correctly recognize both `\\` and `/` as separators
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions