mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Avoid using two i's in the same statements
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3784 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dfcbf01222
commit
24b70926d5
@ -560,9 +560,9 @@ all <tt>User</tt>s of a particular <tt>Value</tt> is called a
|
||||
Function* F = ...;
|
||||
|
||||
for(Value::use_iterator i = F->use_begin(), e = F->use_end(); i != e; ++i) {
|
||||
if(Instruction* i = dyn_cast<Instruction>(*i)) {
|
||||
cerr << "F is used in instruction:\n\t";
|
||||
cerr << *i << "\n";
|
||||
if(Instruction* Inst = dyn_cast<Instruction>(*i)) {
|
||||
cerr << "F is used in instruction:\n";
|
||||
cerr << *Inst << "\n";
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
@ -1575,6 +1575,6 @@ pointer to the parent Function.
|
||||
<a href="mailto:sabre@nondot.org">Chris Lattner</a></address>
|
||||
<!-- Created: Tue Aug 6 15:00:33 CDT 2002 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified: Mon Sep 16 17:07:43 CDT 2002
|
||||
Last modified: Tue Sep 17 17:41:54 CDT 2002
|
||||
<!-- hhmts end -->
|
||||
</font></body></html>
|
||||
|
Loading…
Reference in New Issue
Block a user