mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
Make FindProgramByName return paths with slashes unmodified on Windows.
This makes its behaviour more consistent across platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118048 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -114,7 +114,8 @@ namespace sys {
|
||||
|
||||
/// This static constructor (factory) will attempt to locate a program in
|
||||
/// the operating system's file system using some pre-determined set of
|
||||
/// locations to search (e.g. the PATH on Unix).
|
||||
/// locations to search (e.g. the PATH on Unix). Paths with slashes are
|
||||
/// returned unmodified.
|
||||
/// @returns A Path object initialized to the path of the program or a
|
||||
/// Path object that is empty (invalid) if the program could not be found.
|
||||
/// @brief Construct a Program by finding it by name.
|
||||
|
Reference in New Issue
Block a user