Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MERRY CHRISTMAS EVERYONE!!! (what better way to spend christmas than | Duraid Madina | 2005-12-26 | 1 | -0/+1 | |
| | | | | | | | to try building LLVM on HP-UX! (the Right Way seems to be to tear out the ancient STL that HP ship and use http://incubator.apache.org/stdcxx/ ) llvm-svn: 25012 | |||||
* | indicate when a tool is a debug build. | Chris Lattner | 2005-11-16 | 1 | -1/+6 | |
| | | | | llvm-svn: 24374 | |||||
* | Allow tools with "consume after" options (like lli) to take more positional | Chris Lattner | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | | opts than they take directly. Thanks to John C for pointing this problem out to me! llvm-svn: 22717 | |||||
* | Reject command lines that have too many positional arguments passed (e.g., | Chris Lattner | 2005-08-08 | 1 | -1/+15 | |
| | | | | | | | | 'opt x y'). This fixes PR493. Patch contributed by Owen Anderson! llvm-svn: 22705 | |||||
* | Capitalize | Chris Lattner | 2005-05-13 | 1 | -3/+3 | |
| | | | | llvm-svn: 21964 | |||||
* | Do not use "" as a sentinal for a missing argument! This fixes PR560. | Chris Lattner | 2005-05-10 | 1 | -11/+12 | |
| | | | | llvm-svn: 21850 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -38/+38 | |
| | | | | llvm-svn: 21422 | |||||
* | Work around GCC PR19958, which causes programs to sometimes crash after | Chris Lattner | 2005-02-14 | 1 | -0/+2 | |
| | | | | | | printing help output or version info. llvm-svn: 20180 | |||||
* | Implement and document prefix options with arbitrary values including an | Reid Spencer | 2004-11-24 | 1 | -1/+1 | |
| | | | | | | | = sign. This needed to support -DNAME=value options as pass-through in llvmc. llvm-svn: 18203 | |||||
* | Fixed assertion from triggering. We need to check if the commandline map is ↵ | Tanya Lattner | 2004-11-20 | 1 | -0/+2 | |
| | | | | | | empty before checking if an arg exists. llvm-svn: 18057 | |||||
* | Patches to avoid "leaking" memory on process exit. Patch contributed by | Chris Lattner | 2004-11-19 | 1 | -39/+25 | |
| | | | | | | Morten Ofstad! llvm-svn: 17998 | |||||
* | Add a comment to some code that at first glance just doesn't look right. | Reid Spencer | 2004-11-16 | 1 | -0/+6 | |
| | | | | llvm-svn: 17886 | |||||
* | Per code review: | Reid Spencer | 2004-11-16 | 1 | -5/+24 | |
| | | | | | | *Implement/Document the cl::extrahelp feature instead of the MoreHelp ptr. llvm-svn: 17871 | |||||
* | Implement the MoreHelp utility that calls a function to printmore help ↵ | Reid Spencer | 2004-11-14 | 1 | -0/+10 | |
| | | | | | | information if the MoreHelp global is not null. llvm-svn: 17774 | |||||
* | Replace uses of llvm.org with llvm.cs.uiuc.edu | Misha Brukman | 2004-11-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 17549 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -2/+2 | |
| | | | | | | | | 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 | |||||
* | Make CommandLine prefix error output with the name of the program. | Reid Spencer | 2004-09-01 | 1 | -13/+20 | |
| | | | | llvm-svn: 16129 | |||||
* | Allow any cl::opt to use the method getPosition() to retrieve the option's | Reid Spencer | 2004-08-13 | 1 | -19/+32 | |
| | | | | | | | | | | | | | absolute position on the command line. Similarly allow any cl::list to use the method getPosition(n) to retrieve the absolute position of the nth option in the list. This provides support for two things: (a) options like -l that are actually positional and their order of occurrence matters when they are intermixed with positional arguments like "a.o"; and (b) options like -x LANG which affect only the positional arguments that come after the option. In both cases, knowing the absolute position of a given option helps. llvm-svn: 15725 | |||||
* | Add a --version option for every tool that prints out: | Reid Spencer | 2004-08-04 | 1 | -1/+18 | |
| | | | | | | Low Level Virtual Machine ($PACKAGE_NAME) $PACKAGE_VERSION llvm-svn: 15454 | |||||
* | Add a workaround for a GCC 3.3.2 bug | Chris Lattner | 2004-07-18 | 1 | -1/+6 | |
| | | | | llvm-svn: 14976 | |||||
* | Fix compilation on internix | Chris Lattner | 2004-07-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 14588 | |||||
* | Implement the new cl::PositionalEatsArgs flag, refactor code a bit | Chris Lattner | 2004-05-06 | 1 | -52/+65 | |
| | | | | llvm-svn: 13388 | |||||
* | Hide variable from other functions. | Alkis Evlogimenos | 2004-03-04 | 1 | -2/+3 | |
| | | | | llvm-svn: 12118 | |||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-14 | 1 | -4/+1 | |
| | | | | llvm-svn: 10464 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 9903 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | Change to use strtoul instead of strtoll. | Brian Gaeke | 2003-10-10 | 1 | -2/+7 | |
| | | | | llvm-svn: 9010 | |||||
* | Add missing apostrophe. It's been bugging me for years. | Brian Gaeke | 2003-09-16 | 1 | -1/+1 | |
| | | | | | | No really, years. llvm-svn: 8566 | |||||
* | Fixed spelling & grammar. | Misha Brukman | 2003-09-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 8559 | |||||
* | lib/Support/CommandLine.cpp: | Brian Gaeke | 2003-08-15 | 1 | -46/+51 | |
| | | | | | | | | | | | | | | | | | 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 | |||||
* | Add support for reading command line arguments from an environment variable. | Brian Gaeke | 2003-08-14 | 1 | -0/+74 | |
| | | | | llvm-svn: 7851 | |||||
* | Add support for "named positional arguments" | Chris Lattner | 2003-07-30 | 1 | -15/+34 | |
| | | | | llvm-svn: 7421 | |||||
* | Fixed grammatical error. | Misha Brukman | 2003-07-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 7160 | |||||
* | Lowercase versions of `occurrence' need to be spelled correctly, too. | Misha Brukman | 2003-07-10 | 1 | -15/+15 | |
| | | | | llvm-svn: 7142 | |||||
* | `Occurrence' has no `a' and the `r' is doubled. | Misha Brukman | 2003-07-10 | 1 | -21/+21 | |
| | | | | llvm-svn: 7140 | |||||
* | Add support for 'unsigned' command line arguments | Chris Lattner | 2003-06-28 | 1 | -2/+13 | |
| | | | | llvm-svn: 6928 | |||||
* | Add new CommaSeparated option modifier | Chris Lattner | 2003-05-22 | 1 | -0/+20 | |
| | | | | llvm-svn: 6294 | |||||
* | Destroy using declarations | Chris Lattner | 2003-05-22 | 1 | -64/+60 | |
| | | | | llvm-svn: 6291 | |||||
* | Simplify writing custom parsers. | Chris Lattner | 2002-08-07 | 1 | -76/+48 | |
| | | | | llvm-svn: 3256 | |||||
* | Fix lli with no arguments | Chris Lattner | 2002-08-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 3226 | |||||
* | Fix bug that was causing problems for lli | Chris Lattner | 2002-07-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 3176 | |||||
* | * Fix assertion failure caused by command line argument getting removed after | Chris Lattner | 2002-07-29 | 1 | -15/+35 | |
| | | | | | | | the map was freed. * Cleanup code a bit llvm-svn: 3121 | |||||
* | Remove needless #include | Chris Lattner | 2002-07-27 | 1 | -1/+0 | |
| | | | | llvm-svn: 3117 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 3075 | |||||
* | Fix a bug exposed by lli | Chris Lattner | 2002-07-24 | 1 | -2/+11 | |
| | | | | llvm-svn: 3049 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-23 | 1 | -0/+32 | |
| | | | | llvm-svn: 2999 | |||||
* | Minor bugfix, prevents error in LLI | Chris Lattner | 2002-07-22 | 1 | -4/+6 | |
| | | | | llvm-svn: 2989 | |||||
* | Checkin CommandLine 2.0 | Chris Lattner | 2002-07-22 | 1 | -242/+445 | |
| | | | | llvm-svn: 2982 | |||||
* | Add ability to update existing variables with values read from the command line | Chris Lattner | 2002-05-22 | 1 | -1/+1 | |
| | | | | | | | | | to certain classes. This is nice because it means that in header files we can just declare a value, and still have that value be set based on a command-line argument. The difference is now that the #include of CommandLine.h does not need to go into the header file as well. llvm-svn: 2708 | |||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 2397 |