mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user