[llvm-commits] CVS: llvm/docs/CommandLine.html

Misha Brukman brukman at cs.uiuc.edu
Wed May 12 13:42:01 PDT 2004


Changes in directory llvm/docs:

CommandLine.html updated: 1.20 -> 1.21

---
Log message:

Made to be HTML-4.01 (Strict) -compliant.


---
Diffs of the changes:  (+19 -14)

Index: llvm/docs/CommandLine.html
diff -u llvm/docs/CommandLine.html:1.20 llvm/docs/CommandLine.html:1.21
--- llvm/docs/CommandLine.html:1.20	Thu May  6 17:03:59 2004
+++ llvm/docs/CommandLine.html	Wed May 12 13:42:35 2004
@@ -215,10 +215,10 @@
 to specify where to put the output.  With the CommandLine library, this is
 represented like this:</p>
 
-<p><tt>
-<a name="value_desc_example">
-<a href="#cl::opt">cl::opt</a><string> OutputFilename("<i>o</i>", <a href="#cl::desc">cl::desc</a>("<i>Specify output filename</i>"), <a href="#cl::value_desc">cl::value_desc</a>("<i>filename</i>"));</a>
-</tt></p>
+<a name="value_desc_example"></a>
+<pre>
+<a href="#cl::opt">cl::opt</a><string> OutputFilename("<i>o</i>", <a href="#cl::desc">cl::desc</a>("<i>Specify output filename</i>"), <a href="#cl::value_desc">cl::value_desc</a>("<i>filename</i>"));
+</pre>
 
 <p>This declares a global variable "<tt>OutputFilename</tt>" that is used to
 capture the result of the "<tt>o</tt>" argument (first parameter).  We specify
@@ -934,7 +934,7 @@
 <pre>
 bool DebugFlag;      <i>// the actual value</i>
 static <a href="#cl::opt">cl::opt</a><bool, true>       <i>// The parser</i>
-Debug("<i>debug</i>", <a href="#cl::desc">cl::desc</a>("<i>Enable debug output</i>")</a>, <a href="#cl::Hidden">cl::Hidden</a>,
+Debug("<i>debug</i>", <a href="#cl::desc">cl::desc</a>("<i>Enable debug output</i>"), <a href="#cl::Hidden">cl::Hidden</a>,
       <a href="#cl::location">cl::location</a>(DebugFlag));
 </pre>
 
@@ -1242,6 +1242,7 @@
 strategy basically looks like this:</p>
 
 <p><tt>parse(string OrigInput) {</tt>
+
 <ol>
 <li><tt>string input = OrigInput;</tt>
 <li><tt>if (isOption(input)) return getOption(input).parse();</tt>    <i>// Normal option</i>
@@ -1255,11 +1256,11 @@
   input = OrigInput;<br>
   while (!isOption(input) && !input.empty()) input.pop_back();<br>
 }</tt>
-<li><tt>if (!OrigInput.empty()) error();</tt>
-</tt>
+<li><tt>if (!OrigInput.empty()) error();</tt></li>
 
 </ol>
-<tt>}</tt></p>
+
+<p><tt>}</tt></p>
 
 </div>
 
@@ -1698,12 +1699,16 @@
 <!-- *********************************************************************** -->
 
 <hr>
-<div class="doc_footer">
-  <address><a href="mailto:sabre at nondot.org">Chris Lattner</a></address>
-  <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
-  <br>
-  Last modified: $Date: 2004/05/06 22:03:59 $
-</div>
+<address>
+  <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
+  src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
+  <a href="http://validator.w3.org/check/referer"><img
+  src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
+
+  <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
+  <a href="http://llvm.cs.uiuc.edu">LLVM Compiler Infrastructure</a><br>
+  Last modified: $Date: 2004/05/12 18:42:35 $
+</address>
 
 </body>
 </html>





More information about the llvm-commits mailing list