projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6b628
)
Add accessor method,
author
Tanya Lattner
<tonic@nondot.org>
Sun, 1 May 2005 16:22:41 +0000
(16:22 +0000)
committer
Tanya Lattner
<tonic@nondot.org>
Sun, 1 May 2005 16:22:41 +0000
(16:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21649
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/LoopInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/LoopInfo.h
b/include/llvm/Analysis/LoopInfo.h
index 83befaf37823cd210dd3923b9e15b90f050de2fb..acd739b6b4436f7a80313f9807003405bd8c39e2 100644
(file)
--- a/
include/llvm/Analysis/LoopInfo.h
+++ b/
include/llvm/Analysis/LoopInfo.h
@@
-74,6
+74,7
@@
public:
/// iterator/begin/end - Return the loops contained entirely within this loop.
///
+ const std::vector<Loop*> &getSubLoops() const { return SubLoops; }
typedef std::vector<Loop*>::const_iterator iterator;
iterator begin() const { return SubLoops.begin(); }
iterator end() const { return SubLoops.end(); }