aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-08-19 01:42:18 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-08-19 01:42:18 +0000
commita67f14bf53737f9bb0afefa28e08c4aac6ec4804 (patch)
tree95c5c28e6180cb91d0c5fbc002127ce640b76f08 /lib/Analysis/LoopInfo.cpp
parent613d13beb03bb56a17e6b3262c5e8e539a7e9db8 (diff)
Make a bunch of symbols private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r--lib/Analysis/LoopInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp
index 36fd598d13..6abb14f55a 100644
--- a/lib/Analysis/LoopInfo.cpp
+++ b/lib/Analysis/LoopInfo.cpp
@@ -390,6 +390,7 @@ void Loop::dump() const {
// UnloopUpdater implementation
//
+namespace {
/// Find the new parent loop for all blocks within the "unloop" whose last
/// backedges has just been removed.
class UnloopUpdater {
@@ -421,6 +422,7 @@ public:
protected:
Loop *getNearestLoop(BasicBlock *BB, Loop *BBLoop);
};
+} // end anonymous namespace
/// updateBlockParents - Update the parent loop for all blocks that are directly
/// contained within the original "unloop".