summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/Program.inc
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-31 23:38:28 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-31 23:38:28 +0000
commitdb8842f9f351297c3f666bc5f88f5ee80e39fb70 (patch)
tree1f6aa32d9b55c8692cb3f20d6107b299d88c3c0b /llvm/lib/Support/Unix/Program.inc
parentacd64becb15c5105fae0875575d14858fb106cb1 (diff)
downloadbcm5719-llvm-db8842f9f351297c3f666bc5f88f5ee80e39fb70.tar.gz
bcm5719-llvm-db8842f9f351297c3f666bc5f88f5ee80e39fb70.zip
Remove an unused method on the Program class.
llvm-svn: 171332
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
-rw-r--r--llvm/lib/Support/Unix/Program.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc
index bd75046aa9a..aac52414f11 100644
--- a/llvm/lib/Support/Unix/Program.inc
+++ b/llvm/lib/Support/Unix/Program.inc
@@ -47,11 +47,6 @@ Program::Program() : Data_(0) {}
Program::~Program() {}
-unsigned Program::GetPid() const {
- uint64_t pid = reinterpret_cast<uint64_t>(Data_);
- return static_cast<unsigned>(pid);
-}
-
// This function just uses the PATH environment variable to find the program.
Path
Program::FindProgramByName(const std::string& progName) {
OpenPOWER on IntegriCloud