OSDN Git Service

support: add a utility function to normalise path separators
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 11 Mar 2014 22:05:42 +0000 (22:05 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 11 Mar 2014 22:05:42 +0000 (22:05 +0000)
commit404a72729be98fbc41051197e0c9bb1b48c28e94
tree78d769a62b64a535f5e1d57f9ece284fdb05a1fe
parentff73a2bf86d03dd540afccbe0ba669f1f03ea8a2
support: add a utility function to normalise path separators

Add a utility function to convert the Windows path separator to Unix style path
separators.  This is used by a subsequent change in clang to enable the use of
Windows SDK headers on Linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203611 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h
lib/Support/Unix/Path.inc
lib/Support/Windows/Path.inc
unittests/Support/Path.cpp