[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-05-22 Thread Dale Johannesen
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.64 -> 1.65 --- Log message: Make tail merging the default, except on powerPC. There was no prior art for a target-dependent default with a command-line override; this way should be generally usable. --- Diffs of the cha

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-04-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.63 -> 1.64 --- Log message: improve the patch for PR1318: http://llvm.org/PR1318 to also support grouped options with custom handlers (like the pass list). My previous fix only supported *new* command line options, not

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h PassNameParser.h

2007-04-06 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.62 -> 1.63 PassNameParser.h updated: 1.16 -> 1.17 --- Log message: rearchitect the registration mechanism used by the command line option stuff. This dramatically reduce the amount of memory allocated by the commandline st

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-04-06 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.61 -> 1.62 --- Log message: Switch some vectors to smallvectors. This reduces amount of malloc'd memory that occurs before main starts from 5104 to 4864 bytes with a dummy example app. --- Diffs of the changes: (+8 -6)

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-04-06 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.60 -> 1.61 --- Log message: Eliminate unneeded virtual methods --- Diffs of the changes: (+44 -49) CommandLine.h | 93 +++--- 1 files changed, 44 insertions(+), 49

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-04-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.59 -> 1.60 --- Log message: eliminate a virtual method --- Diffs of the changes: (+39 -42) CommandLine.h | 81 +++--- 1 files changed, 39 insertions(+), 42 deletio

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-04-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.58 -> 1.59 --- Log message: remove the dead removeArgument method, rename Options to OptionsMap. --- Diffs of the changes: (+0 -1) CommandLine.h |1 - 1 files changed, 1 deletion(-) Index: llvm/include/llvm/Supp

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2007-01-31 Thread Devang Patel
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.57 -> 1.58 --- Log message: Add PrintVersionMessage() that tools can use to print version number without exiting program. --- Diffs of the changes: (+1 -0) CommandLine.h |1 + 1 files changed, 1 insertion(+) Ind

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2006-10-12 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.56 -> 1.57 --- Log message: simplify trivial function --- Diffs of the changes: (+1 -5) CommandLine.h |6 +- 1 files changed, 1 insertion(+), 5 deletions(-) Index: llvm/include/llvm/Support/CommandLine.h dif

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2006-08-27 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.55 -> 1.56 --- Log message: Add external definitions for commonly-used template specializations and add anchor methods to others. This eliminates the vtable/template method bloat in .o files that defining a cl::opt used t

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2006-07-18 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.54 -> 1.55 --- Log message: Add an out-of-line virtual method to provide a home for the cl::option class. --- Diffs of the changes: (+3 -0) CommandLine.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/incl

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2006-06-05 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.53 -> 1.54 --- Log message: Make it possible to override the standard version printer. Not all tools built with CommandLine.h will want the --version option to report that the tool belongs to LLVM. To override simply pass

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2006-05-12 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.52 -> 1.53 --- Log message: Don't use old-style casts. This prevents compiler warnings when CommandLine.h is used in projects that have stricter warning control than LLVM. This also helps us find casts more easily if we e

Re: [llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2005-10-23 Thread Vladimir A. Merzliakov
Move the END_WITH_NULL marker. Vladimir suggests that this works better with GCC 4.1. I tried it with 4.0 and 3.3 and it seems fine. Just for note: this suggested by Jeff Cohen in http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20051017/028884.html I only check for 4.1.0 and post

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2005-10-23 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.51 -> 1.52 --- Log message: Move the END_WITH_NULL marker. Vladimir suggests that this works better with GCC 4.1. I tried it with 4.0 and 3.3 and it seems fine. --- Diffs of the changes: (+2 -7) CommandLine.h |9

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

2005-10-23 Thread Jeff Cohen
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.50 -> 1.51 --- Log message: Work around GCC's dislike of attributes on function definitions. --- Diffs of the changes: (+6 -1) CommandLine.h |7 ++- 1 files changed, 6 insertions(+), 1 deletion(-) Index: llv

Re: [llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h DataTypes.h.in

2005-10-23 Thread Jim Laskey
This doesn't compile for my copy of gcc;+#if __GNUC__ > 3+#define END_WITH_NULL __attribute__((sentinel))+#else+#define END_WITH_NULL+#endif ValuesClass values(const char *Arg, DataType Val, const char *Desc,-                             ...) {+                             ...) END_WITH_NULL {/llvm

[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h DataTypes.h.in

2005-10-22 Thread Jeff Cohen
Changes in directory llvm/include/llvm/Support: CommandLine.h updated: 1.49 -> 1.50 DataTypes.h.in updated: 1.20 -> 1.21 --- Log message: When a function takes a variable number of pointer arguments, with a zero pointer marking the end of the list, the zero *must* be cast to the pointer type.