aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-11 06:29:42 +0000
committerChris Lattner <sabre@nondot.org>2008-01-11 06:29:42 +0000
commitfadcd4e60be40bcab198dcb0eef6e4a51b4c0627 (patch)
treeaf353ac63e1817f75c7764f95e8d9aa97c4c143d /include/llvm/Analysis
parent131bd2ecf721749666111ec2dd1d32a20ae049b2 (diff)
downloadexternal_llvm-fadcd4e60be40bcab198dcb0eef6e4a51b4c0627.zip
external_llvm-fadcd4e60be40bcab198dcb0eef6e4a51b4c0627.tar.gz
external_llvm-fadcd4e60be40bcab198dcb0eef6e4a51b4c0627.tar.bz2
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
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/LoopInfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index d78ac08..d80ce3a 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 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