Reid Spencer 1e13fd23d3 Allow any cl::opt to use the method getPosition() to retrieve the option's
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15725 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-13 19:47:30 +00:00
..
2004-07-29 04:22:30 +00:00
2004-07-15 02:51:31 +00:00
2004-08-04 09:46:56 +00:00
2004-08-13 03:03:44 +00:00
2004-08-04 04:45:42 +00:00
2004-08-04 18:49:52 +00:00
2004-07-17 23:29:46 +00:00
2004-06-15 21:52:58 +00:00
2004-02-01 00:32:48 +00:00
2004-06-04 20:39:05 +00:00
2004-07-17 23:30:45 +00:00
2003-11-16 20:21:15 +00:00
2004-07-17 23:32:11 +00:00
2004-08-04 04:45:42 +00:00