llvm-6502/lib
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
..
Analysis Improvement to the previous fix: branch following a delay slot of 2003-08-14 20:45:56 +00:00
Archive
AsmParser
Bytecode
CodeGen Remove uses of the NonCopyable class, to make the doxygen output look better 2003-08-15 05:20:06 +00:00
ExecutionEngine rename selection library to selectiondag 2003-08-15 04:56:09 +00:00
Linker
Support lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00
Target Now that the JIT memory manager allocates as many bytes as necessary rather than 2003-08-15 18:03:06 +00:00
Transforms Factory methods for function passes now return type FunctionPass *. 2003-08-14 06:09:32 +00:00
VMCore Add new method to FunctionPassManager to add ImmutablePasses. 2003-08-14 06:07:57 +00:00
Makefile