diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index a1fb7e9a65c..dcbee7635de 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -2644,8 +2644,8 @@ bool GVN::iterateOnFunction(Function &F) { // std::vector 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::iterator I = BBVect.begin(), E = BBVect.end(); I != E; I++)