Chris Lattner
d1f09685e3
If an invalid alternative is listed for an argument, print the valid options
...
llvm-svn: 1604
2002-01-31 00:42:56 +00:00
Chris Lattner
3dc9a2a61f
Changes to build successfully with GCC 3.02
...
llvm-svn: 1503
2002-01-20 22:54:45 +00:00
Chris Lattner
463cc31132
Create a new #include "Support/..." directory structure to move things
...
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400
2001-11-27 00:03:19 +00:00
Chris Lattner
9158ea6980
* Implement support for folding multiple single letter arguments together like
...
with ls: ls -la === ls -l -a
* Implement support for trimming arguments that start with a single letter
argument so that -lfoo is recognized as -l foo for the linker
llvm-svn: 1378
2001-11-26 18:58:34 +00:00
Chris Lattner
269c7dd5d3
Provide option to enable eating of all arguments following a specific one
...
llvm-svn: 986
2001-10-27 05:54:17 +00:00
Chris Lattner
c3cee9637c
Clean up error handling a bit. Add / as a seperator for command line arguments. This is just a big old ugly hack.
...
llvm-svn: 974
2001-10-24 06:21:56 +00:00
Chris Lattner
57781f7fda
Add StringList support
...
llvm-svn: 766
2001-10-13 06:53:19 +00:00
Chris Lattner
45768e6fe5
Clean up Type class by removing mutable ConstRules member and use annotations insead
...
llvm-svn: 516
2001-09-09 21:02:38 +00:00
Chris Lattner
99e8b0589f
Annotations are const objects now
...
llvm-svn: 458
2001-09-07 16:44:01 +00:00
Chris Lattner
b04aee8d08
Support passing a data pointer to annotation factory methods
...
llvm-svn: 376
2001-08-27 05:19:10 +00:00
Chris Lattner
d381beea6a
Add annotation support
...
llvm-svn: 366
2001-08-23 17:07:56 +00:00
Chris Lattner
8de7c629dd
Fixed a bug exposed when doing something like this: <program> -notanoption --help
...
llvm-svn: 293
2001-07-25 18:40:49 +00:00
Chris Lattner
aafababdd2
Doh! Wrong Optional flag. :(
...
llvm-svn: 290
2001-07-23 23:14:23 +00:00
Chris Lattner
501f2d27ea
Add a comment indicating that there is documentation of the library
...
llvm-svn: 289
2001-07-23 23:04:07 +00:00
Chris Lattner
866521c345
Minor changes to implementation of CommandLine library to let users override
...
options forced by different subclasses of Option
llvm-svn: 286
2001-07-23 23:02:45 +00:00
Chris Lattner
3e365b974b
CommandLine library cleanup. No longer use getValue/setValue, instead, just treat the commandline
...
args as the objects they represent and the "right thing" will happen
llvm-svn: 283
2001-07-23 19:27:24 +00:00
Chris Lattner
ff6c44f04f
Moved inline/llvm/Tools/* to include/llvm/Support/*
...
llvm-svn: 279
2001-07-23 17:46:59 +00:00
Chris Lattner
59f8477b5c
Initial checkin
...
llvm-svn: 278
2001-07-23 17:17:47 +00:00
Chris Lattner
f42a7804c8
Large scale changes to implement new command line argument facility
...
llvm-svn: 272
2001-07-23 02:35:57 +00:00
Vikram S. Adve
1b172a1df5
Program options class.
...
llvm-svn: 235
2001-07-21 12:43:07 +00:00