From 00a7b52385a25ab8cd412ce4c0f0ce11176b6793 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Apr 2009 03:43:51 +0000 Subject: Remove AllowInverse: it leaks memory and is not the right abstraction for CommandLine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68588 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandLine.html | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'docs/CommandLine.html') diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 013ff27d19..74cf389894 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1447,17 +1447,6 @@ unrecognized option strings to it as values instead of signaling an error. As with cl::CommaSeparated, this modifier only makes sense with a cl::list option. -
  • The cl::AllowInverse -modifier can be used on options that have the form -fopt to -automatically create a corresponding --fno-opt option. The f can be any single -character, and the opt can be any one or more characters. -The value of the created option is the logical complement of the value -that would have been used if the base form of the option was used. -This modifier only makes sense with an option that uses -a bool parser.
  • - -

    So far, these are the only three miscellaneous option modifiers.

    @@ -1755,11 +1744,7 @@ for any data type.
  • The parser<bool> specialization is used to convert boolean strings to a boolean value. Currently accepted strings are "true", "TRUE", "True", "1", -"false", "FALSE", "False", and "0". The -cl::AllowInverse modifier can be used on an option of the form --fopt that uses the parser<bool> specialization -to create a corresponding option with the form -fno-opt. See -cl::AllowInverse for details.
  • +"false", "FALSE", "False", and "0".
  • The parser<boolOrDefault> specialization is used for cases where the value is boolean, -- cgit v1.2.3-70-g09d2