Get rid of GetProcessId in Win32/Program.inc.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 15 Sep 2009 03:39:45 +0000 (03:39 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 15 Sep 2009 03:39:45 +0000 (03:39 +0000)
commit6db0e3a98198fb47b11314935e1201f7ebf2c52d
treeacce5f7a1fd097c07638ff48bd12812c67ca321e
parent3d76d11866e056b861c93341cb77a6477406c7fb
Get rid of GetProcessId in Win32/Program.inc.

GetProcessId was introduced only in XP. As a bonus, this change makes Program
objects copyable, since Program is now basically a PID.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81826 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/System/Program.h
lib/System/Unix/Program.inc
lib/System/Win32/Program.inc