[llvm-commits] CVS: llvm/include/llvm/Support/SystemUtils.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 13 15:14:20 PST 2005
Changes in directory llvm/include/llvm/Support:
SystemUtils.h updated: 1.19 -> 1.20
---
Log message:
Move private helper function into the only .cpp file that uses it.
---
Diffs of the changes: (+0 -18)
SystemUtils.h | 18 ------------------
1 files changed, 18 deletions(-)
Index: llvm/include/llvm/Support/SystemUtils.h
diff -u llvm/include/llvm/Support/SystemUtils.h:1.19 llvm/include/llvm/Support/SystemUtils.h:1.20
--- llvm/include/llvm/Support/SystemUtils.h:1.19 Sat Jan 1 18:10:03 2005
+++ llvm/include/llvm/Support/SystemUtils.h Sun Feb 13 17:14:06 2005
@@ -37,24 +37,6 @@
sys::Path FindExecutable(const std::string &ExeName,
const std::string &ProgramPath);
-/// RunProgramWithTimeout - This function provides an alternate interface to the
-/// sys::Program::ExecuteAndWait interface.
-/// @see sys:Program::ExecuteAndWait
-inline int RunProgramWithTimeout(const sys::Path &ProgramPath,
- const char **Args,
- const sys::Path &StdInFile,
- const sys::Path &StdOutFile,
- const sys::Path &StdErrFile,
- unsigned NumSeconds = 0) {
- const sys::Path* redirects[3];
- redirects[0] = &StdInFile;
- redirects[1] = &StdOutFile;
- redirects[2] = &StdErrFile;
-
- return
- sys::Program::ExecuteAndWait(ProgramPath, Args, 0, redirects, NumSeconds);
-}
-
} // End llvm namespace
#endif
More information about the llvm-commits
mailing list