diff options
| author | Dale Johannesen <dalej@apple.com> | 2007-05-22 18:32:34 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2007-05-22 18:32:34 +0000 |
| commit | 10c5ccc68f5a9a8259e503292a750eab621d694f (patch) | |
| tree | 1cde21e3b942450df6c9e85b2c9b6c8ae1585c02 /llvm/docs | |
| parent | f9cbdc676c184602f07f8a103d749917b1d748a5 (diff) | |
| download | bcm5719-llvm-10c5ccc68f5a9a8259e503292a750eab621d694f.tar.gz bcm5719-llvm-10c5ccc68f5a9a8259e503292a750eab621d694f.zip | |
Document boolOrDefault and its parser.
llvm-svn: 37290
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/CommandLine.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/docs/CommandLine.html b/llvm/docs/CommandLine.html index 8358d8756e1..bf80ec07d45 100644 --- a/llvm/docs/CommandLine.html +++ b/llvm/docs/CommandLine.html @@ -75,6 +75,8 @@ parser</a></li> <li><a href="#boolparser">The <tt>parser<bool></tt> specialization</a></li> + <li><a href="#boolOrDefaultparser">The <tt>parser<boolOrDefault></tt> + specialization</a></li> <li><a href="#stringparser">The <tt>parser<string></tt> specialization</a></li> <li><a href="#intparser">The <tt>parser<int></tt> @@ -1702,6 +1704,12 @@ is used to convert boolean strings to a boolean value. Currently accepted strings are "<tt>true</tt>", "<tt>TRUE</tt>", "<tt>True</tt>", "<tt>1</tt>", "<tt>false</tt>", "<tt>FALSE</tt>", "<tt>False</tt>", and "<tt>0</tt>".</li> +<li><a name="boolOrDefaultparser">The <b><tt>parser<boolOrDefault></tt> + specialization</b></a> is used for cases where the value is boolean, +but we also need to know whether the option was specified at all. boolOrDefault +is an enum with 3 values, BOU_UNSET, BOU_TRUE and BOU_FALSE. This parser accepts +the same strings as <b><tt>parser<bool></tt></b>.</li> + <li><a name="stringparser">The <b><tt>parser<string></tt> specialization</b></a> simply stores the parsed string into the string value specified. No conversion or modification of the data is performed.</li> |

