diff options
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 83befaf378..acd739b6b4 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<Loop*> &getSubLoops() const { return SubLoops; } typedef std::vector<Loop*>::const_iterator iterator; iterator begin() const { return SubLoops.begin(); } iterator end() const { return SubLoops.end(); } |