[llvm-commits] CVS: llvm/docs/CommandLine.html
Jim Laskey
jlaskey at apple.com
Fri Aug 26 02:26:06 PDT 2005
Changes in directory llvm/docs:
CommandLine.html updated: 1.37 -> 1.38
---
Log message:
Changed unsigned long to unsigned.
---
Diffs of the changes: (+7 -7)
CommandLine.html | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
Index: llvm/docs/CommandLine.html
diff -u llvm/docs/CommandLine.html:1.37 llvm/docs/CommandLine.html:1.38
--- llvm/docs/CommandLine.html:1.37 Thu Aug 25 18:01:25 2005
+++ llvm/docs/CommandLine.html Fri Aug 26 04:25:54 2005
@@ -701,8 +701,8 @@
<div class="doc_text">
<p>Instead of collecting sets of options in a list, it is also possible to
-gather information for enum values in a bit vector. The represention used by
-the <a href="#bits"><tt>cl::bits</tt></a> class is an <tt>unsigned long</tt>
+gather information for enum values in a <b>bit vector</b>. The represention used by
+the <a href="#bits"><tt>cl::bits</tt></a> class is an <tt>unsigned</tt>
integer. An enum value is represented by a 0/1 in the enum's ordinal value bit
position. 1 indicating that the enum was specified, 0 otherwise. As each
specified value is parsed, the resulting enum's bit is set in the option's bit
@@ -741,13 +741,13 @@
<tt>cl::bits::getBits</tt> function:</p>
<div class="doc_code"><pre>
- unsigned long bits = OptimizationBits.getBits();
+ unsigned bits = OptimizationBits.getBits();
</pre></div>
<p>Finally, if external storage is used, then the location specified must be of
-type <tt>unsigned long</tt>. In all other ways a <a
+<b>type</b> <tt>unsigned</tt>. In all other ways a <a
href="#bits"><tt>cl::bits</tt></a> option is morally equivalent to a <a
-href="#list"> <tt>cl::list</tt></a> option</p>
+href="#list"> <tt>cl::list</tt></a> option.</p>
</div>
@@ -1588,7 +1588,7 @@
<p>This class works the exact same as the <a
href="#cl::opt"><tt>cl::lists</tt></a> class, except that the second argument
-must be of <b>type</b> <tt>unsigned long</tt> if external storage is used.</p>
+must be of <b>type</b> <tt>unsigned</tt> if external storage is used.</p>
</div>
@@ -1900,7 +1900,7 @@
<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: 2005/08/25 23:01:25 $
+ Last modified: $Date: 2005/08/26 09:25:54 $
</address>
</body>
More information about the llvm-commits
mailing list