aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-08-14 22:00:59 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-08-14 22:00:59 +0000
commit06b06c5f00acffdab8c59e3dc5baca3eacca172a (patch)
tree8d7cfdf7ffb51b6a7612d84fbef07ccfe7e9c952 /include/llvm/Support/CommandLine.h
parent95cc1b39e0994aea852062f33beca571e157c28b (diff)
Add support for reading command line arguments from an environment variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r--include/llvm/Support/CommandLine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 245d15bc51..faf82062cc 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/Support/CommandLine.h
@@ -32,6 +32,13 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
const char *Overview = 0);
//===----------------------------------------------------------------------===//
+// ParseEnvironmentOptions - Environment variable option processing alternate
+// entry point.
+//
+void cl::ParseEnvironmentOptions (char *progName, char *envvar,
+ const char *Overview = 0);
+
+//===----------------------------------------------------------------------===//
// Flags permitted to be passed to command line arguments
//