[llvm-commits] [llvm] r171335 - /llvm/trunk/include/llvm/Support/Program.h
Chandler Carruth
chandlerc at gmail.com
Mon Dec 31 15:44:49 PST 2012
Author: chandlerc
Date: Mon Dec 31 17:44:49 2012
New Revision: 171335
URL: http://llvm.org/viewvc/llvm-project?rev=171335&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Support/Program.h
Modified: llvm/trunk/include/llvm/Support/Program.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Program.h?rev=171335&r1=171334&r2=171335&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Program.h (original)
+++ llvm/trunk/include/llvm/Support/Program.h Mon Dec 31 17:44:49 2012
@@ -39,7 +39,6 @@
/// @name Methods
/// @{
- public:
Program();
~Program();
@@ -100,6 +99,7 @@
///< 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
More information about the llvm-commits
mailing list