Add accessor method,

llvm-svn: 21649
This commit is contained in:
Tanya Lattner 2005-05-01 16:22:41 +00:00
parent c187835632
commit 846b8b00e2
1 changed files with 1 additions and 0 deletions

View File

@ -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(); }