From 1bc49c9d8294556e79aa3e023afd879cbfb900c7 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 9 Jul 2010 14:46:49 +0000 Subject: [PATCH] fix clang selfhost issue (shadowing) llvm-svn: 107970 --- llvm/include/llvm/Analysis/Dominators.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Analysis/Dominators.h b/llvm/include/llvm/Analysis/Dominators.h index 1ffde368d89d..1979d3f6820b 100644 --- a/llvm/include/llvm/Analysis/Dominators.h +++ b/llvm/include/llvm/Analysis/Dominators.h @@ -258,9 +258,9 @@ protected: for (typename InvTraits::ChildIteratorType PI = InvTraits::child_begin(NewBBSucc), E = InvTraits::child_end(NewBBSucc); PI != E; ++PI) { - typename InvTraits::NodeType *N = *PI; - if (N != NewBB && !DT.dominates(NewBBSucc, N) && - DT.isReachableFromEntry(N)) { + typename InvTraits::NodeType *ND = *PI; + if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && + DT.isReachableFromEntry(ND)) { NewBBDominatesNewBBSucc = false; break; } -- GitLab