OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cedb8a
)
Avoid name shadowing with E variable defined in for(). This was giving VC++
author
Bill Wendling
<isanbard@gmail.com>
Thu, 2 Oct 2008 18:39:11 +0000
(18:39 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 2 Oct 2008 18:39:11 +0000
(18:39 +0000)
grief.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56961
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvmc2/CompilationGraph.cpp
patch
|
blob
|
history
diff --git
a/tools/llvmc2/CompilationGraph.cpp
b/tools/llvmc2/CompilationGraph.cpp
index
2e83f44
..
838b940
100644
(file)
--- a/
tools/llvmc2/CompilationGraph.cpp
+++ b/
tools/llvmc2/CompilationGraph.cpp
@@
-55,10
+55,10
@@
namespace {
for (typename C::const_iterator B = EdgesContainer.begin(),
E = EdgesContainer.end(); B != E; ++B) {
- const Edge*
E
= B->getPtr();
- unsigned EW =
E
->Weight(InLangs);
+ const Edge*
e
= B->getPtr();
+ unsigned EW =
e
->Weight(InLangs);
if (EW > MaxWeight) {
- MaxEdge =
E
;
+ MaxEdge =
e
;
MaxWeight = EW;
SingleMax = true;
} else if (EW == MaxWeight) {