llvm-6502/support/lib/Support
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
..
Annotation.cpp
CommandLine.cpp lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00
ConstantRange.cpp
Debug.cpp Reenable optimized build 2003-08-12 20:46:50 +00:00
FileUtilities.cpp close() requires "unistd.h" . 2003-08-07 21:35:41 +00:00
LeakDetector.cpp
Makefile
Mangler.cpp Add support to the mangler for targets which require _'s on global symbols 2003-08-11 19:34:29 +00:00
PluginLoader.cpp
Signals.cpp
Statistic.cpp This file uses stable_sort 2003-08-13 21:32:37 +00:00
SystemUtils.cpp Doxygen-ify the comments by using '///' instead of '//'. 2003-08-07 21:34:25 +00:00
Timer.cpp