Skip to content

Commit

Permalink
[GVN] Format variable name.
Browse files Browse the repository at this point in the history
Local variables need to start with an upper case letter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217133 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Tilmann Scheller committed Sep 4, 2014
1 parent a41fd4f commit b4f4dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Transforms/Scalar/GVN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2644,8 +2644,8 @@ bool GVN::iterateOnFunction(Function &F) {
//
std::vector<BasicBlock *> BBVect;
BBVect.reserve(256);
for (DomTreeNode *x : depth_first(DT->getRootNode()))
BBVect.push_back(x->getBlock());
for (DomTreeNode *X : depth_first(DT->getRootNode()))
BBVect.push_back(X->getBlock());

for (std::vector<BasicBlock *>::iterator I = BBVect.begin(), E = BBVect.end();
I != E; I++)
Expand Down

0 comments on commit b4f4dd4

Please sign in to comment.