Remove custom path manipulation functions from FileSpec
authorPavel Labath <labath@google.com>
Fri, 11 May 2018 11:55:34 +0000 (11:55 +0000)
committerPavel Labath <labath@google.com>
Fri, 11 May 2018 11:55:34 +0000 (11:55 +0000)
commite7306b105eb7f0aeac48f380ffb7b855995dabfd
treebcd9d03517bfa4415dd1d0732306478a664143d0
parent5ad5c3c7ed231d9c319cbe91f74f88f8bce59688
Remove custom path manipulation functions from FileSpec

Summary:
now that llvm supports host-agnostic path manipulation functions (and
most of their kinks have been ironed out), we can remove our copies of
the path parsing functions in favour of the llvm ones.

This should be NFC except for the slight difference in handling of the
"//" path, which is now normalized to "/" (this only applies to the
literal "//" path; "//net" and friends still get to keep the two
slashes).

Reviewers: zturner, clayborg

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D46687

llvm-svn: 332088
lldb/source/Utility/FileSpec.cpp
lldb/unittests/Utility/FileSpecTest.cpp