diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/System/Program.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h index ae37ece4b6..f92c3222b0 100644 --- a/include/llvm/System/Program.h +++ b/include/llvm/System/Program.h @@ -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 |