1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/include
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
..
boost This header works with GCC 3.3 2003-07-25 17:33:45 +00:00
Config CVS, please don't tell us that we have a new config.h file, everyone knows that. 2003-08-03 18:31:38 +00:00
llvm Remove extraneous #include 2003-08-15 05:21:30 +00:00
Support lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00