Brian Gaeke 294589d7f6 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().

llvm-svn: 7905
2003-08-15 21:05:57 +00:00
..
2003-05-22 21:59:35 +00:00
2003-08-15 21:05:57 +00:00
2003-08-12 20:46:50 +00:00
2002-07-23 17:52:38 +00:00
2003-08-13 21:32:37 +00:00
2003-08-01 22:15:15 +00:00