mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Changed unsigned long to unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23078 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -701,8 +701,8 @@ checking we have to do.</p>
|
|||||||
<div class="doc_text">
|
<div class="doc_text">
|
||||||
|
|
||||||
<p>Instead of collecting sets of options in a list, it is also possible to
|
<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
|
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 long</tt>
|
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
|
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
|
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
|
specified value is parsed, the resulting enum's bit is set in the option's bit
|
||||||
@@ -741,13 +741,13 @@ the first are discarded.</p>
|
|||||||
<tt>cl::bits::getBits</tt> function:</p>
|
<tt>cl::bits::getBits</tt> function:</p>
|
||||||
|
|
||||||
<div class="doc_code"><pre>
|
<div class="doc_code"><pre>
|
||||||
unsigned long bits = OptimizationBits.getBits();
|
unsigned bits = OptimizationBits.getBits();
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
<p>Finally, if external storage is used, then the location specified must be of
|
<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="#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>
|
</div>
|
||||||
|
|
||||||
@@ -1588,7 +1588,7 @@ can take up to three arguments:</p>
|
|||||||
|
|
||||||
<p>This class works the exact same as the <a
|
<p>This class works the exact same as the <a
|
||||||
href="#cl::opt"><tt>cl::lists</tt></a> class, except that the second argument
|
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>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user