From: Chris Lattner Date: Tue, 17 Sep 2002 22:43:00 +0000 (+0000) Subject: Avoid using two i's in the same statements X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=24b70926d5750dacadc3252f8fbcc964b369e2af;p=oota-llvm.git 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 --- diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 28a50793857..93ee0f3f262 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -560,9 +560,9 @@ all Users of a particular Value 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"; } } @@ -1575,6 +1575,6 @@ pointer to the parent Function. Chris Lattner -Last modified: Mon Sep 16 17:07:43 CDT 2002 +Last modified: Tue Sep 17 17:41:54 CDT 2002