summaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-25 03:52:19 +0000
committerChris Lattner <sabre@nondot.org>2001-06-25 03:52:19 +0000
commitd6a7b7552f5cc0a254b2faaf91451d85870ca7dd (patch)
tree03364d13dafbf65db8e8930822e9a238d8647422 /include/llvm/Function.h
parent5289d52a55b16c202a9e458fcdbfdc9ba95bec08 (diff)
downloadllvm-d6a7b7552f5cc0a254b2faaf91451d85870ca7dd.tar.gz
llvm-d6a7b7552f5cc0a254b2faaf91451d85870ca7dd.tar.bz2
llvm-d6a7b7552f5cc0a254b2faaf91451d85870ca7dd.tar.xz
CFG.h: change the iterator tag
Method.h: Add an iterator type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 7448dce9fe..7eb526f6a2 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -28,6 +28,7 @@ class Method : public SymTabValue {
public:
typedef ValueHolder<MethodArgument, Method> ArgumentListType;
typedef ValueHolder<BasicBlock , Method> BasicBlocksType;
+ typedef BasicBlocksType::iterator iterator;
private:
// Important things that make up a method!