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 Add using declarations 2003-05-22 21:59:35 +00:00
CommandLine.cpp lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00
ConstantRange.cpp Simplify code by using ConstantInt::getRawValue instead of checking to see 2003-07-23 15:22:26 +00:00
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 Add an optimization to support the most common access pattern for the 2002-09-19 19:22:11 +00:00
Makefile *** empty log message *** 2002-07-23 17:52:38 +00:00
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 The RTLD_GLOBAL flag allows symbols to be globally accessible, which makes 2003-07-28 19:19:58 +00:00
Signals.cpp Move #include from a header to here 2003-08-01 19:16:29 +00:00
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 Describe the value name 2003-08-01 22:15:15 +00:00