Permalink
Browse files

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
  • Loading branch information...
1 parent a0d8f28 commit eda54e193efe9d3337caca7f1fa4631cea12d517 @chandlerc chandlerc committed Dec 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit eda54e1

Please sign in to comment.