| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Support for multi-valued options in CommandLine | Mikhail Glushenkov | 2009-01-16 | 1 | -2/+21 |
| | | | | | | | | Makes possible to specify options that take multiple arguments (a-la -sectalign on Darwin). See documentation for details. llvm-svn: 62372 | ||||
| * | * Alphabetized system headers per the style guide | Misha Brukman | 2009-01-02 | 1 | -3/+3 |
| | | | | | | | * Minor spacing and comment cleanups llvm-svn: 61590 | ||||
| * | Silence a warning about "*/" outside a comment. | Steve Naroff | 2008-05-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 51287 | ||||
| * | Remove warnings about unused parameters and shadowed variables. | Bill Wendling | 2008-05-19 | 1 | -7/+7 |
| | | | | | llvm-svn: 51266 | ||||
| * | Fix more -Wshorten-64-to-32 warnings. | Evan Cheng | 2008-05-05 | 1 | -16/+18 |
| | | | | | llvm-svn: 50659 | ||||
| * | Add support for response files to the CommandLine library. | Mikhail Glushenkov | 2008-04-28 | 1 | -21/+23 |
| | | | | | llvm-svn: 50355 | ||||
| * | Add explicit keywords. | Dan Gohman | 2008-02-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 47382 | ||||
| * | Add 'sink' cmdline option. Patch by Mikhail Glushenkov! | Anton Korobeynikov | 2008-02-20 | 1 | -1/+2 |
| | | | | | llvm-svn: 47377 | ||||
| * | Don't attribute in file headers anymore. See llvmdev for the | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | | | | discussion of this change. Boy are my fingers tired. ;-) llvm-svn: 45411 | ||||
| * | Remove an unnecessary friend declaration. | Dan Gohman | 2007-10-09 | 1 | -1/+0 |
| | | | | | llvm-svn: 42805 | ||||
| * | update prototype, fixing build error | Chris Lattner | 2007-10-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 42789 | ||||
| * | Pass argc by value, not by reference, since it isn't modified. | Dan Gohman | 2007-10-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 42788 | ||||
| * | Fix grammar in a comment. | Dan Gohman | 2007-10-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 42748 | ||||
| * | Add explicit keywords. | Dan Gohman | 2007-10-08 | 1 | -5/+5 |
| | | | | | llvm-svn: 42747 | ||||
| * | Add explicit keywords. | Dan Gohman | 2007-07-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 37925 | ||||
| * | Make tail merging the default, except on powerPC. There was no prior art | Dale Johannesen | 2007-05-22 | 1 | -0/+22 |
| | | | | | | | | for a target-dependent default with a command-line override; this way should be generally usable. llvm-svn: 37285 | ||||
| * | improve the patch for PR1318 to also support grouped options with custom | Chris Lattner | 2007-04-12 | 1 | -0/+5 |
| | | | | | | | | | | handlers (like the pass list). My previous fix only supported *new* command line options, not additions to old ones. This fixes test/Feature/load_module.ll llvm-svn: 35935 | ||||
| * | rearchitect the registration mechanism used by the command line option stuff. | Chris Lattner | 2007-04-06 | 1 | -19/+37 |
| | | | | | | | | | | | This dramatically reduce the amount of memory allocated by the commandline stuff at static init time, changing it to build local data structures when ParseCommandLineOptions is called. In a dummy empty program that links some llvm libraries, this reduces the number of malloc'd bytes from 4864 to 3360 on entry to main. Most of that memory is now allocated by non-commandline related stuff. llvm-svn: 35701 | ||||
| * | Switch some vectors to smallvectors. This reduces amount of malloc'd | Chris Lattner | 2007-04-06 | 1 | -6/+8 |
| | | | | | | | | memory that occurs before main starts from 5104 to 4864 bytes with a dummy example app. llvm-svn: 35698 | ||||
| * | Eliminate unneeded virtual methods | Chris Lattner | 2007-04-06 | 1 | -49/+44 |
| | | | | | llvm-svn: 35697 | ||||
| * | eliminate a virtual method | Chris Lattner | 2007-04-05 | 1 | -42/+39 |
| | | | | | llvm-svn: 35691 | ||||
| * | remove the dead removeArgument method, rename Options to OptionsMap. | Chris Lattner | 2007-04-05 | 1 | -1/+0 |
| | | | | | llvm-svn: 35690 | ||||
| * | Add PrintVersionMessage() that tools can use to print version number | Devang Patel | 2007-02-01 | 1 | -0/+1 |
| | | | | | | | without exiting program. llvm-svn: 33737 | ||||
| * | simplify trivial function | Chris Lattner | 2006-10-12 | 1 | -5/+1 |
| | | | | | llvm-svn: 30924 | ||||
| * | Add external definitions for commonly-used template specializations and add | Chris Lattner | 2006-08-27 | 1 | -2/+37 |
| | | | | | | | | | anchor methods to others. This eliminates the vtable/template method bloat in .o files that defining a cl::opt used to impose (~4K per .o file for one cp::opt<unsigned>). llvm-svn: 29909 | ||||
| * | Add an out-of-line virtual method to provide a home for the cl::option class. | Chris Lattner | 2006-07-18 | 1 | -0/+3 |
| | | | | | llvm-svn: 29191 | ||||
| * | Make it possible to override the standard version printer. Not all tools | Reid Spencer | 2006-06-05 | 1 | -0/+7 |
| | | | | | | | | | | built with CommandLine.h will want the --version option to report that the tool belongs to LLVM. To override simply pass a void func() to the cl::SetVersionPrinter() function and that void func() will be called when it is time to print the version information. llvm-svn: 28687 | ||||
| * | Don't use old-style casts. This prevents compiler warnings when CommandLine.h | Reid Spencer | 2006-05-12 | 1 | -2/+2 |
| | | | | | | | | is used in projects that have stricter warning control than LLVM. This also helps us find casts more easily if we ever need to. llvm-svn: 28263 | ||||
| * | Move the END_WITH_NULL marker. Vladimir suggests that this works better with | Chris Lattner | 2005-10-24 | 1 | -7/+2 |
| | | | | | | | GCC 4.1. I tried it with 4.0 and 3.3 and it seems fine. llvm-svn: 23957 | ||||
| * | Work around GCC's dislike of attributes on function definitions. | Jeff Cohen | 2005-10-23 | 1 | -1/+6 |
| | | | | | llvm-svn: 23896 | ||||
| * | When a function takes a variable number of pointer arguments, with a zero | Jeff Cohen | 2005-10-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888 | ||||
| * | Fix errors when compiling with -pedantic | Chris Lattner | 2005-10-14 | 1 | -5/+5 |
| | | | | | llvm-svn: 23719 | ||||
| * | Change unsigned lng to unsigned. | Jim Laskey | 2005-08-26 | 1 | -7/+7 |
| | | | | | llvm-svn: 23077 | ||||
| * | Added cl::bits option type (bit vectors). See "Collecting options as a set | Jim Laskey | 2005-08-25 | 1 | -0/+182 |
| | | | | | | | of flags" in the Command Line doc. llvm-svn: 23067 | ||||
| * | Eliminate tabs and trailing spaces. | Jeff Cohen | 2005-07-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 22520 | ||||
| * | Make sure a variable is initialized before use to clean up a warning from | Reid Spencer | 2005-06-18 | 1 | -1/+2 |
| | | | | | | | GCC 4.0.0 in release build. llvm-svn: 22248 | ||||
| * | silence a huge number of bogus warnings with GCC 4 on Reid's tester. | Chris Lattner | 2005-06-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 22244 | ||||
| * | Change some old-style casts to C++ style casts to avoid warnings in XPS | Reid Spencer | 2005-04-22 | 1 | -4/+4 |
| | | | | | | | | | compilation. This change has been waiting in the wings for a long time but since Misha just did a global change, I figured now was the time to commit it. llvm-svn: 21431 | ||||
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -23/+23 |
| | | | | | llvm-svn: 21411 | ||||
| * | Added a size_type typedef to LLVM containers to make Visual Studio shut up | Reid Spencer | 2004-12-13 | 1 | -1/+1 |
| | | | | | | | (and possibly to make LLVM more x86 64bit friendly). llvm-svn: 18891 | ||||
| * | Make a const method const | Reid Spencer | 2004-12-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 18524 | ||||
| * | Per code review: | Reid Spencer | 2004-11-16 | 1 | -7/+13 |
| | | | | | | | *Implement/Document the cl::extrahelp feature instead of the MoreHelp ptr. llvm-svn: 17871 | ||||
| * | Add the MoreHelp function pointer. If non-null, this specifies a function to ↵ | Reid Spencer | 2004-11-14 | 1 | -0/+8 |
| | | | | | | | be called to print out additional help information llvm-svn: 17756 | ||||
| * | Convert 'struct' to 'class' in various places to adhere to the coding standards | Chris Lattner | 2004-10-27 | 1 | -14/+18 |
| | | | | | | | and work better with VC++. Patch contributed by Morten Ofstad! llvm-svn: 17281 | ||||
| * | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -0/+1049 |
| | | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
| * | Move support directory | Chris Lattner | 2001-11-29 | 1 | -399/+0 |
| | | | | | llvm-svn: 1401 | ||||
| * | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 1 | -0/+399 |
| from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400 | |||||

