Have sys::FindProgramByName return a std::string.
[oota-llvm.git] / include / llvm / Support / Program.h
index dac377aaa7cb37e56045096a52e6d3ec510a1f87..38fc8c2c8bbddecfed1e753c5b025c3c056afa12 100644 (file)
@@ -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