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-15 01:29:12 +00:00
2003-12-14 21:35:53 +00:00
2004-07-21 03:32:51 +00:00
2004-06-22 23:54:38 +00:00
2004-07-15 01:29:12 +00:00
2004-07-08 22:09:34 +00:00