summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-09-08 19:50:55 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-09-08 19:50:55 +0000
commitedf8e48c216a10d1b867aba0308842116f83547b (patch)
tree68ea2eb029b6c4399cefff9e8ba5d1fc5ec21575 /include/llvm
parenta607202a68085cee4d18894392be647d6cd4a53e (diff)
downloadllvm-edf8e48c216a10d1b867aba0308842116f83547b.tar.gz
llvm-edf8e48c216a10d1b867aba0308842116f83547b.tar.bz2
llvm-edf8e48c216a10d1b867aba0308842116f83547b.tar.xz
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
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/System/Program.h6
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