summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-13 19:25:37 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-13 19:25:37 +0000
commit6585b388cb7bfc623adb9e4dd910423f838e5d96 (patch)
treedc0ff4c6888d3a35bc3dec2152d921fd929e4008 /include
parent90cd06e90be1db06bc4812ae9ec96b6638847285 (diff)
downloadllvm-6585b388cb7bfc623adb9e4dd910423f838e5d96.tar.gz
llvm-6585b388cb7bfc623adb9e4dd910423f838e5d96.tar.bz2
llvm-6585b388cb7bfc623adb9e4dd910423f838e5d96.tar.xz
Have sys::FindProgramByName return a std::string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h
index dac377aaa7..38fc8c2c8b 100644
--- a/include/llvm/Support/Program.h
+++ b/include/llvm/Support/Program.h
@@ -29,7 +29,7 @@ namespace sys {
/// @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.
- Path FindProgramByName(const std::string& name);
+ std::string FindProgramByName(const std::string& name);
// These functions change the specified standard stream (stdin, stdout, or
// stderr) to binary mode. They return errc::success if the specified stream