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
This commit is contained in:
Chandler Carruth 2012-12-31 23:44:49 +00:00
parent a0d8f28a9c
commit eda54e193e

View File

@ -39,7 +39,6 @@ namespace sys {
/// @name Methods /// @name Methods
/// @{ /// @{
public:
Program(); Program();
~Program(); ~Program();
@ -100,6 +99,7 @@ namespace sys {
///< is non-empty upon return an error occurred while waiting. ///< is non-empty upon return an error occurred while waiting.
); );
public:
/// This static constructor (factory) will attempt to locate a program in /// This static constructor (factory) will attempt to locate a program in
/// the operating system's file system using some pre-determined set of /// 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 /// locations to search (e.g. the PATH on Unix). Paths with slashes are