llvm-6502/include/llvm
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
..
ADT Reordered includes to be consistent with the LLVM style. 2003-08-15 17:52:02 +00:00
Analysis Add a comment to the method decl 2003-08-05 18:38:16 +00:00
Assembly
Bytecode Changed the LITTLE_ENDIAN and BIG_ENDIAN macros to ENDIAN_LITTLE and ENDIAN_BIG. 2003-06-11 19:44:51 +00:00
CodeGen Add support for basic blocks, unary/binary unspecs, conditional branches, ... 2003-08-15 04:52:51 +00:00
Config Enable JIT when the platform supports it. 2003-07-29 19:11:58 +00:00
ExecutionEngine Deconstify parameter to getPointerToFunction(). 2003-08-13 18:17:54 +00:00
Reoptimizer Check in header file that was missing, thus broke the build 2002-11-03 19:24:49 +00:00
Support lib/Support/CommandLine.cpp: 2003-08-15 21:05:57 +00:00
System This file doesn't need this include 2003-08-01 19:16:18 +00:00
Target Remove extraneous #include 2003-08-15 05:21:30 +00:00
Transforms Factory methods for function passes now return type FunctionPass *. 2003-08-14 06:09:32 +00:00
AbstractTypeUser.h Remove inline declarations that GCC 3.3 doesn't like without a body 2003-07-25 17:39:33 +00:00
Argument.h
BasicBlock.h
Constant.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
ConstantHandling.h Add support for ~ operator on constants 2003-07-23 17:21:17 +00:00
Constants.h Add more doxygen comments, add new ConstantInt::getRawValue method 2003-07-23 14:49:06 +00:00
DerivedTypes.h Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
Function.h Update out of date comment 2003-05-09 22:16:18 +00:00
GlobalValue.h Add new linkage types to support a real frontend 2003-04-16 20:28:45 +00:00
GlobalVariable.h Merged in autoconf branch. This provides configuration via the autoconf 2003-06-30 21:59:07 +00:00
iMemory.h Rename Instruction::hasSideEffects() -> mayWriteToMemory() 2003-02-24 20:48:32 +00:00
InstrTypes.h
Instruction.def Add new VarArgInst class for the va_arg instruction 2003-05-08 02:42:50 +00:00
Instruction.h Renamed trapping instruction function to be more consistent with other functions in the file. 2003-07-31 05:08:02 +00:00
Instructions.h New helper header 2003-01-27 22:08:52 +00:00
Intrinsics.h Add a bunch of new Alpha Intrinsics for Rahul Joshi 2003-08-06 20:08:25 +00:00
iOperators.h
iOther.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
iPHINode.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
iTerminators.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
Linker.h
Module.h Lined things up in a more aesthetically pleasing way. 2003-07-28 19:17:53 +00:00
Pass.h #include <cassert> as necessary... 2003-07-25 17:58:41 +00:00
PassAnalysisSupport.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
PassManager.h Add new method to FunctionPassManager to add ImmutablePasses. 2003-08-14 06:07:57 +00:00
PassSupport.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
SlotCalculator.h
SymbolTable.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
SymbolTableListTraits.h
Type.def
Type.h s/convertable/convertible/g 2003-05-20 18:45:36 +00:00
User.h Remove a ton of extraneous #includes 2003-06-22 03:08:05 +00:00
Value.h Detemplatize the PATypeHandle class, which was only really instantiated on 'Type'. 2003-06-18 19:22:36 +00:00