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