| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Refer to -help instead of --help since this is what tools themselves say. | Duncan Sands | 2010-02-18 | 1 | -8/+8 |
| | | | | | | | | | Also, have tools output -help-hidden rather than refer to --help-hidden, for consistency, and likewise adjust documentation. This doesn't change every mention of --help, only those which seemed clearly safe. llvm-svn: 96578 | ||||
| * | enhance bits_storage to work with enums by using a c-style | Chris Lattner | 2010-02-09 | 1 | -1/+1 |
| | | | | | | | | cast instead of reinterpret_cast, fixing PR6243. Apparently reinterpret_cast and I aren't getting along today. llvm-svn: 95622 | ||||
| * | Add qualifiers for calls to member functions in dependent bases. | Anders Carlsson | 2009-12-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 91087 | ||||
| * | Move llvm::cl::opt's conversion function into the base classes that | Douglas Gregor | 2009-11-05 | 1 | -2/+4 |
| | | | | | | | actually need that conversion function. Silences a Clang++ warning. llvm-svn: 86148 | ||||
| * | Declare classes with matched tags, pointed out by a clang++ warning. | Chris Lattner | 2009-11-05 | 1 | -2/+4 |
| | | | | | llvm-svn: 86144 | ||||
| * | Remove a bunch of unused arguments from functions, silencing a | Eric Christopher | 2009-10-14 | 1 | -2/+2 |
| | | | | | | | warning. llvm-svn: 84130 | ||||
| * | Rename enum NumOccurrences to NumOccurrencesFlag since there is a member ↵ | Evan Cheng | 2009-10-04 | 1 | -6/+8 |
| | | | | | | | named NumOccurrences. llvm-svn: 83273 | ||||
| * | smallvectorize getExtraOptionNames | Chris Lattner | 2009-09-20 | 1 | -6/+6 |
| | | | | | llvm-svn: 82377 | ||||
| * | convert a bunch more stuff to use StringRef. The ArgName arguments are now | Chris Lattner | 2009-09-20 | 1 | -19/+17 |
| | | | | | | | | | stringref because they may not be nul terminated. For options like -Lfoo this now avoids a O(n) temporary std::strings where N is the length of the string after -L. llvm-svn: 82345 | ||||
| * | convert a bunch of std::strings to use StringRef. This should eliminate | Chris Lattner | 2009-09-19 | 1 | -28/+22 |
| | | | | | | | | a massive number of temporary strings created when parsing a command line. More still left to eliminate. llvm-svn: 82318 | ||||
| * | Fix some comments referring to std::cerr. | Daniel Dunbar | 2009-08-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 77931 | ||||
| * | Remove duplicated colons and spaces. | Benjamin Kramer | 2009-08-02 | 1 | -7/+7 |
| | | | | | llvm-svn: 77892 | ||||
| * | Fix comment. | Mikhail Glushenkov | 2009-06-17 | 1 | -2/+2 |
| | | | | | llvm-svn: 73601 | ||||
| * | Add support for a character after a command line option. Like '-Os'. | Bill Wendling | 2009-04-29 | 1 | -0/+23 |
| | | | | | llvm-svn: 70437 | ||||
| * | Remove AllowInverse: it leaks memory and is not the right | Chris Lattner | 2009-04-08 | 1 | -5/+1 |
| | | | | | | | abstraction for CommandLine. llvm-svn: 68588 | ||||
| * | Use CHAR_BIT instead of hard-coding 8 in several places where it | Dan Gohman | 2009-04-01 | 1 | -2/+3 |
| | | | | | | | | is appropriate. This helps visually differentiate host-oriented calculations from target-oriented calculations. llvm-svn: 68227 | ||||
| * | * Fixed spelling of `invertible' | Misha Brukman | 2009-04-01 | 1 | -5/+2 |
| | | | | | | | * Simplified if statement llvm-svn: 68163 | ||||
| * | Constify check. This fixes PR3900. | Bill Wendling | 2009-03-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 68013 | ||||
| * | move a large method out of line. | Chris Lattner | 2009-03-28 | 1 | -16/+2 |
| | | | | | llvm-svn: 67892 | ||||
| * | Allow invertable -xno- style optins as well. | Mike Stump | 2009-03-27 | 1 | -4/+8 |
| | | | | | llvm-svn: 67862 | ||||
| * | Fix the Win32 VS2008 build: | Sebastian Redl | 2009-03-19 | 1 | -2/+2 |
| | | | | | | | | | | | - Make type declarations match the struct/class keyword of the definition. - Move AddSignalHandler into the namespace where it belongs. - Correctly call functions from template base. - Some other small changes. With this patch, LLVM and Clang should build properly and with far less noise under VS2008. llvm-svn: 67347 | ||||
| * | Improve -fno-opt style option processing to not require an extra | Mike Stump | 2009-02-02 | 1 | -34/+25 |
| | | | | | | | | option to make the -fno- form on the option. We also document the new form in the CommandLine documentation. llvm-svn: 63559 | ||||
| * | Add opposite_of and inverse_opt to support -fno- style options. This | Mike Stump | 2009-01-30 | 1 | -0/+33 |
| | | | | | | | is necessary for eventual gcc commmand line compatibility. llvm-svn: 63384 | ||||
| * | 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 | ||||

