Move typedef of loop to top of the file where it is more obvious.
authorChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 06:29:42 +0000 (06:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 06:29:42 +0000 (06:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45857 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index d78ac0877bfd09cba845993bf89529d182582fe7..d80ce3ac26abba98bcdfb438e347799fcef45eb5 100644 (file)
@@ -57,6 +57,9 @@ class LoopInfo;
 class PHINode;
 class Instruction;
 template<class N> class LoopInfoBase;
+template<class N> class LoopBase;
+
+typedef LoopBase<BasicBlock> Loop;
 
 //===----------------------------------------------------------------------===//
 /// LoopBase class - Instances of this class are used to represent loops that
@@ -552,8 +555,6 @@ private:
   }
 };
 
-typedef LoopBase<BasicBlock> Loop;
-
 
 //===----------------------------------------------------------------------===//
 /// LoopInfo - This class builds and contains all of the top level loop