summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/Configuration.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-13 19:47:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-13 19:47:30 +0000
commit2027a6ffdc7d50911b6ebf423c1b6c98a1d7c68e (patch)
tree8d8aa3bfcd0127511890efa0954fe84960ceead0 /llvm/tools/llvmc/Configuration.h
parent6e5010d9353de62d7d64ceacd7d98f20d4accec8 (diff)
downloadbcm5719-llvm-2027a6ffdc7d50911b6ebf423c1b6c98a1d7c68e.tar.gz
bcm5719-llvm-2027a6ffdc7d50911b6ebf423c1b6c98a1d7c68e.zip
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. llvm-svn: 15725
Diffstat (limited to 'llvm/tools/llvmc/Configuration.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud