diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-03-25 23:06:16 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-03-25 23:06:16 +0000 |
commit | c78d720f023093b3b59d7bde30c96f18dedb5b53 (patch) | |
tree | 7f9952c4c9344fa27763432e5df6c902f83e957e /llvm/lib/VMCore/Constants.cpp | |
parent | d821f4ac60e0a6228f73e74bed0c2aa6578e6d39 (diff) | |
download | bcm5719-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/VMCore/Constants.cpp')
-rw-r--r-- | llvm/lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index 10f88794f5a..c9c98577eb6 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/lib/VMCore/Constants.cpp @@ -160,7 +160,7 @@ bool Constant::canTrap() const { /// isConstantUsed - Return true if the constant has users other than constant /// exprs and other dangling things. bool Constant::isConstantUsed() const { - for (use_const_iterator UI = use_begin(), E = use_end(); UI != E; ++UI) { + for (const_use_iterator UI = use_begin(), E = use_end(); UI != E; ++UI) { const Constant *UC = dyn_cast<Constant>(*UI); if (UC == 0 || isa<GlobalValue>(UC)) return true; |