diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-14 22:00:59 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-14 22:00:59 +0000 |
commit | 06b06c5f00acffdab8c59e3dc5baca3eacca172a (patch) | |
tree | 8d7cfdf7ffb51b6a7612d84fbef07ccfe7e9c952 /include/llvm/Support/CommandLine.h | |
parent | 95cc1b39e0994aea852062f33beca571e157c28b (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.h | 7 |
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 // |