From: Chandler Carruth Date: Mon, 31 Dec 2012 23:44:49 +0000 (+0000) Subject: Make it explicit that the only entry points to the Program object are X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=eda54e193efe9d3337caca7f1fa4631cea12d517;p=oota-llvm.git Make it explicit that the only entry points to the Program object are through the static helper functions. This is already true throughout the codebase. Slowly, I'm going to re-implement these static helpers in terms of a new process based interface which can expose more information, and remove the program object entirely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171335 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h index e09d66446fc..028565d2a6a 100644 --- a/include/llvm/Support/Program.h +++ b/include/llvm/Support/Program.h @@ -39,7 +39,6 @@ namespace sys { /// @name Methods /// @{ - public: Program(); ~Program(); @@ -100,6 +99,7 @@ namespace sys { ///< is non-empty upon return an error occurred while waiting. ); + public: /// This static constructor (factory) will attempt to locate a program in /// the operating system's file system using some pre-determined set of /// locations to search (e.g. the PATH on Unix). Paths with slashes are