[llvm-commits] CVS: llvm/include/Support/CommandLine.h

Brian Gaeke gaeke at niobe.cs.uiuc.edu
Thu Aug 14 17:02:08 PDT 2003


Changes in directory llvm/include/Support:

CommandLine.h updated: 1.20 -> 1.21

---
Log message:

Add support for reading command line arguments from an environment variable.


---
Diffs of the changes:

Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.20 llvm/include/Support/CommandLine.h:1.21
--- llvm/include/Support/CommandLine.h:1.20	Fri Jul 25 12:23:27 2003
+++ llvm/include/Support/CommandLine.h	Thu Aug 14 17:00:59 2003
@@ -32,6 +32,13 @@
 				 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
 //
 





More information about the llvm-commits mailing list