From fadcd4e60be40bcab198dcb0eef6e4a51b4c0627 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Jan 2008 06:29:42 +0000 Subject: [PATCH] Move typedef of loop to top of the file where it is more obvious. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45857 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/LoopInfo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index d78ac0877bf..d80ce3ac26a 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -57,6 +57,9 @@ class LoopInfo; class PHINode; class Instruction; template class LoopInfoBase; +template class LoopBase; + +typedef LoopBase Loop; //===----------------------------------------------------------------------===// /// LoopBase class - Instances of this class are used to represent loops that @@ -552,8 +555,6 @@ private: } }; -typedef LoopBase Loop; - //===----------------------------------------------------------------------===// /// LoopInfo - This class builds and contains all of the top level loop -- 2.34.1