1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
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
..
Analysis Improvement to the previous fix: branch following a delay slot of 2003-08-14 20:45:56 +00:00
AsmParser Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
Bytecode Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
CodeGen Remove uses of the NonCopyable class, to make the doxygen output look better 2003-08-15 05:20:06 +00:00
CWriter Stop annoying warnings about mismatched types with the argument of a free 2003-08-14 19:19:53 +00:00
ExecutionEngine rename selection library to selectiondag 2003-08-15 04:56:09 +00:00
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 Merged in autoconf branch. This provides configuration via the autoconf 2003-06-30 21:59:07 +00:00