summaryrefslogtreecommitdiff
path: root/lib/VMCore/LeakDetector.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-14 21:35:53 +0000
committerChris Lattner <sabre@nondot.org>2003-12-14 21:35:53 +0000
commit2cdd21c2e4d855500dfb53f77aa74da53ccf9de6 (patch)
tree98803f88a663bba4b7955f121b58306f5ae11d85 /lib/VMCore/LeakDetector.cpp
parentb6d465f8131f5fb0b8e565685fb3395ed9aecbdb (diff)
downloadllvm-2cdd21c2e4d855500dfb53f77aa74da53ccf9de6.tar.gz
llvm-2cdd21c2e4d855500dfb53f77aa74da53ccf9de6.tar.bz2
llvm-2cdd21c2e4d855500dfb53f77aa74da53ccf9de6.tar.xz
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LeakDetector.cpp')
-rw-r--r--lib/VMCore/LeakDetector.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/VMCore/LeakDetector.cpp b/lib/VMCore/LeakDetector.cpp
index ffb081a998..f0cb6cc1c5 100644
--- a/lib/VMCore/LeakDetector.cpp
+++ b/lib/VMCore/LeakDetector.cpp
@@ -14,8 +14,7 @@
#include "Support/LeakDetector.h"
#include "llvm/Value.h"
#include <set>
-
-namespace llvm {
+using namespace llvm;
// Lazily allocate set so that release build doesn't have to do anything.
static std::set<const void*> *Objects = 0;
@@ -89,5 +88,3 @@ void LeakDetector::checkForGarbageImpl(const std::string &Message) {
Objects = 0; LLVMObjects = 0;
}
}
-
-} // End llvm namespace