aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Support/SystemUtils.h16
-rw-r--r--include/llvm/Support/SystemUtils.h16
2 files changed, 12 insertions, 20 deletions
diff --git a/include/Support/SystemUtils.h b/include/Support/SystemUtils.h
index b4d2c697f6..26371c93dc 100644
--- a/include/Support/SystemUtils.h
+++ b/include/Support/SystemUtils.h
@@ -21,7 +21,7 @@ bool isExecutableFile(const std::string &ExeFileName);
/// in the PATH. If the executable cannot be found, return an empty string.
///
std::string FindExecutable(const std::string &ExeName,
- const std::string &ProgramPath);
+ const std::string &ProgramPath);
/// RunProgramWithTimeout - This function executes the specified program, with
/// the specified null-terminated argument array, with the stdin/out/err fd's
@@ -30,16 +30,12 @@ std::string FindExecutable(const std::string &ExeName,
/// It returns the return value of the program, or -1 if a timeout is detected.
///
int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
- const std::string &StdInFile = "",
- const std::string &StdOutFile = "",
- const std::string &StdErrFile = "");
+ const std::string &StdInFile = "",
+ const std::string &StdOutFile = "",
+ const std::string &StdErrFile = "");
-///
-/// Function: ExecWait()
-///
-/// Description:
-/// Execute a program with the given arguments and environment and
-/// wait for it to terminate.
+/// ExecWait - Execute a program with the given arguments and environment and
+/// wait for it to terminate.
///
int ExecWait (const char * const argv[], const char * const envp[]);
#endif
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h
index b4d2c697f6..26371c93dc 100644
--- a/include/llvm/Support/SystemUtils.h
+++ b/include/llvm/Support/SystemUtils.h
@@ -21,7 +21,7 @@ bool isExecutableFile(const std::string &ExeFileName);
/// in the PATH. If the executable cannot be found, return an empty string.
///
std::string FindExecutable(const std::string &ExeName,
- const std::string &ProgramPath);
+ const std::string &ProgramPath);
/// RunProgramWithTimeout - This function executes the specified program, with
/// the specified null-terminated argument array, with the stdin/out/err fd's
@@ -30,16 +30,12 @@ std::string FindExecutable(const std::string &ExeName,
/// It returns the return value of the program, or -1 if a timeout is detected.
///
int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
- const std::string &StdInFile = "",
- const std::string &StdOutFile = "",
- const std::string &StdErrFile = "");
+ const std::string &StdInFile = "",
+ const std::string &StdOutFile = "",
+ const std::string &StdErrFile = "");
-///
-/// Function: ExecWait()
-///
-/// Description:
-/// Execute a program with the given arguments and environment and
-/// wait for it to terminate.
+/// ExecWait - Execute a program with the given arguments and environment and
+/// wait for it to terminate.
///
int ExecWait (const char * const argv[], const char * const envp[]);
#endif