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 | 60ad781c61815ca5b8dc2a45a102e1c8af65992f (patch) | |
tree | 84f1bf55e1ff40a4bba36e28dcf3b807723492cd /include/llvm/Support | |
parent | ac2884a717daf3ad2aa8425320795d661e8a980b (diff) | |
download | external_llvm-60ad781c61815ca5b8dc2a45a102e1c8af65992f.zip external_llvm-60ad781c61815ca5b8dc2a45a102e1c8af65992f.tar.gz external_llvm-60ad781c61815ca5b8dc2a45a102e1c8af65992f.tar.bz2 |
rename use_const_iterator to const_use_iterator for consistency's sake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/CFG.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/CallSite.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index 3875f0b..621d50e 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -67,7 +67,7 @@ public: typedef PredIterator<BasicBlock, Value::use_iterator> pred_iterator; typedef PredIterator<const BasicBlock, - Value::use_const_iterator> pred_const_iterator; + Value::const_use_iterator> pred_const_iterator; inline pred_iterator pred_begin(BasicBlock *BB) { return pred_iterator(BB); } inline pred_const_iterator pred_begin(const BasicBlock *BB) { diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index 9d9a30e..480535f 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -196,7 +196,7 @@ public: bool isCallee(Value::use_iterator UI) const { return getCallee() == &UI.getUse(); } - bool isCallee(Value::use_const_iterator UI) const { + bool isCallee(Value::const_use_iterator UI) const { return getCallee() == &UI.getUse(); } private: |