summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CaptureTracking.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-03-25 23:06:16 +0000
committerGabor Greif <ggreif@gmail.com>2010-03-25 23:06:16 +0000
commitc78d720f023093b3b59d7bde30c96f18dedb5b53 (patch)
tree7f9952c4c9344fa27763432e5df6c902f83e957e /llvm/lib/Analysis/CaptureTracking.cpp
parentd821f4ac60e0a6228f73e74bed0c2aa6578e6d39 (diff)
downloadbcm5719-llvm-c78d720f023093b3b59d7bde30c96f18dedb5b53.tar.gz
bcm5719-llvm-c78d720f023093b3b59d7bde30c96f18dedb5b53.zip
rename use_const_iterator to const_use_iterator for consistency's sake
llvm-svn: 99564
Diffstat (limited to 'llvm/lib/Analysis/CaptureTracking.cpp')
-rw-r--r--llvm/lib/Analysis/CaptureTracking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CaptureTracking.cpp b/llvm/lib/Analysis/CaptureTracking.cpp
index 8767c181417..047825884ef 100644
--- a/llvm/lib/Analysis/CaptureTracking.cpp
+++ b/llvm/lib/Analysis/CaptureTracking.cpp
@@ -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.
OpenPOWER on IntegriCloud