diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-11-02 20:32:39 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-11-02 20:32:39 +0000 |
commit | 9cd59712289214225094b5b4108c2dbbf06a052c (patch) | |
tree | 9c56a6c5b666ef6617bb2e35a487c1c01734aa82 /include/llvm/System/Program.h | |
parent | 0f2ec15b9e22e80ffcb7332500f47c165b8ee945 (diff) |
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
Diffstat (limited to 'include/llvm/System/Program.h')
-rw-r--r-- | include/llvm/System/Program.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h index 0c14076e30..c595082e8b 100644 --- a/include/llvm/System/Program.h +++ b/include/llvm/System/Program.h @@ -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. |