rename use_const_iterator to const_use_iterator for consistency's sake
[oota-llvm.git] / lib / Analysis / CaptureTracking.cpp
index 8767c1814172fbcd30755070f673ee487284791d..047825884ef357af0d2791fe18722e3a91d0500b 100644 (file)
@@ -49,7 +49,7 @@ bool llvm::PointerMayBeCaptured(const Value *V,
   SmallSet<Use*, Threshold> Visited;
   int Count = 0;
 
-  for (Value::use_const_iterator UI = V->use_begin(), UE = V->use_end();
+  for (Value::const_use_iterator UI = V->use_begin(), UE = V->use_end();
        UI != UE; ++UI) {
     // If there are lots of uses, conservatively say that the value
     // is captured to avoid taking too much compile time.