llvm-6502/include
Brian Gaeke c48ef2ae36 lib/Support/CommandLine.cpp:
Many changes suggested by Chris. It's okay, I'll recover from the emotional
damage...maybe someday. :-)

Collapse ParseCStringVector into ParseStringVector.  Comment it.
Make it take a const input.
Use std::string::npos instead of -1 (what a mouthful!)
Make ParseEnvironmentOptions take const inputs.
Check its args at the very beginning.
Strdup all the contents of newArgv and free them all at the end.

include/Support/CommandLine.h:
Constify progName and envVar arguments to ParseEnvironmentOptions().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7905 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15 21:05:57 +00:00
..
boost This header works with GCC 3.3 2003-07-25 17:33:45 +00:00
Config CVS, please don't tell us that we have a new config.h file, everyone knows that. 2003-08-03 18:31:38 +00:00
llvm lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00
Support lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00