Get rid of the Pid_ member in the Program class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2009-09-08 19:50:55 +00:00
parent a607202a68
commit edf8e48c21
3 changed files with 31 additions and 24 deletions

View File

@ -30,9 +30,7 @@ namespace sys {
/// @brief An abstraction for finding and executing programs.
class Program {
/// Opaque handle for target specific data.
void *Data;
unsigned Pid_;
void *Data_;
// Noncopyable.
Program(const Program& other);
@ -46,7 +44,7 @@ namespace sys {
~Program();
/// Return process ID of this program.
unsigned GetPid() { return Pid_; }
unsigned GetPid();
/// This function executes the program using the \p arguments provided. The
/// invoked program will inherit the stdin, stdout, and stderr file