aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-31 23:44:49 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-31 23:44:49 +0000
commiteda54e193efe9d3337caca7f1fa4631cea12d517 (patch)
tree1e58691b382b676ee679b5d060ef92fa49fc9298
parenta0d8f28a9cbebfd3ddb32dfe3e0a286ede1678c5 (diff)
downloadexternal_llvm-eda54e193efe9d3337caca7f1fa4631cea12d517.zip
external_llvm-eda54e193efe9d3337caca7f1fa4631cea12d517.tar.gz
external_llvm-eda54e193efe9d3337caca7f1fa4631cea12d517.tar.bz2
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
-rw-r--r--include/llvm/Support/Program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h
index e09d664..028565d 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