From 21d6ff546d0c9cd1a631fe7940a3988a2472198c Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sun, 1 May 2005 16:22:41 +0000 Subject: [PATCH] Add accessor method, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21649 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/LoopInfo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 83befaf3782..acd739b6b44 100644 --- 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 &getSubLoops() const { return SubLoops; } typedef std::vector::const_iterator iterator; iterator begin() const { return SubLoops.begin(); } iterator end() const { return SubLoops.end(); }