Changes in directory llvm/docs:

CommandLine.html updated: 1.43 -> 1.44
---
Log message:

Document boolOrDefault and its parser.


---
Diffs of the changes:  (+9 -1)

 CommandLine.html |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: llvm/docs/CommandLine.html
diff -u llvm/docs/CommandLine.html:1.43 llvm/docs/CommandLine.html:1.44
--- llvm/docs/CommandLine.html:1.43     Thu Dec  7 14:04:41 2006
+++ llvm/docs/CommandLine.html  Tue May 22 13:32:34 2007
@@ -75,6 +75,8 @@
             parser</a></li>
         <li><a href="#boolparser">The <tt>parser&lt;bool&gt;</tt>
             specialization</a></li>
+        <li><a href="#boolOrDefaultparser">The 
<tt>parser&lt;boolOrDefault&gt;</tt>
+            specialization</a></li>
         <li><a href="#stringparser">The <tt>parser&lt;string&gt;</tt>
             specialization</a></li>
         <li><a href="#intparser">The <tt>parser&lt;int&gt;</tt>
@@ -1702,6 +1704,12 @@
 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&lt;boolOrDefault&gt;</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&lt;bool&gt;</tt></b>.</li>
+
 <li><a name="stringparser">The <b><tt>parser&lt;string&gt;</tt>
 specialization</b></a> simply stores the parsed string into the string value
 specified.  No conversion or modification of the data is performed.</li>
@@ -1923,7 +1931,7 @@
 
   <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br>
   <a href="http://llvm.org";>LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2006/12/07 20:04:41 $
+  Last modified: $Date: 2007/05/22 18:32:34 $
 </address>
 
 </body>



_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to