summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitb3220147d28f1578de21dffcb77850f5982dca99 (patch)
tree7bc3c5130f172981e35404302c1b5b8b370d652c /llvm
parentb97b83fbf7aca26388f3149c4b0e588829dd99ed (diff)
downloadbcm5719-llvm-b3220147d28f1578de21dffcb77850f5982dca99.tar.gz
bcm5719-llvm-b3220147d28f1578de21dffcb77850f5982dca99.zip
Move typedef of loop to top of the file where it is more obvious.
llvm-svn: 45857
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/LoopInfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/LoopInfo.h b/llvm/include/llvm/Analysis/LoopInfo.h
index d78ac0877bf..d80ce3ac26a 100644
--- a/llvm/include/llvm/Analysis/LoopInfo.h
+++ b/llvm/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
OpenPOWER on IntegriCloud