summaryrefslogtreecommitdiff
path: root/docs/ProgrammersManual.html
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-03-26 19:35:48 +0000
committerGabor Greif <ggreif@gmail.com>2010-03-26 19:35:48 +0000
commit394fdfbda8433c0d654d4d50392562362ada127e (patch)
tree7aa2a2b81debe3c62a4d0556acf46b4a6d785c54 /docs/ProgrammersManual.html
parent4de7368bf92897d3b943423934e0a95d5a99d2cd (diff)
downloadllvm-394fdfbda8433c0d654d4d50392562362ada127e.tar.gz
llvm-394fdfbda8433c0d654d4d50392562362ada127e.tar.bz2
llvm-394fdfbda8433c0d654d4d50392562362ada127e.tar.xz
fix formatting and a validation fail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ProgrammersManual.html')
-rw-r--r--docs/ProgrammersManual.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index b6c9a8793c..a2d32d4e98 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -1960,12 +1960,12 @@ for (Value::use_iterator i = F-&gt;use_begin(), e = F-&gt;use_end(); i != e; ++i
errs() &lt;&lt; *Inst &lt;&lt; "\n";
}
</pre>
-Note that dereferencing a <tt>Value::use_iterator</tt is not a very cheap
+</div>
+
+Note that dereferencing a <tt>Value::use_iterator</tt> is not a very cheap
operation. Instead of performing <tt>*i</tt> above several times, consider
doing it only once in the loop body and reusing its result.
-</div>
-
<p>Alternatively, it's common to have an instance of the <a
href="/doxygen/classllvm_1_1User.html">User Class</a> and need to know what
<tt>Value</tt>s are used by it. The list of all <tt>Value</tt>s used by a