From 960707c335b85fa0df0bff6400fd4e5f19ac0df4 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 11 Nov 2003 22:41:34 +0000 Subject: Put all LLVM code into the llvm namespace, as per bug 109. llvm-svn: 9903 --- llvm/lib/Support/LeakDetector.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Support/LeakDetector.cpp') diff --git a/llvm/lib/Support/LeakDetector.cpp b/llvm/lib/Support/LeakDetector.cpp index 24c946ab6ea..ffb081a9982 100644 --- a/llvm/lib/Support/LeakDetector.cpp +++ b/llvm/lib/Support/LeakDetector.cpp @@ -15,6 +15,8 @@ #include "llvm/Value.h" #include +namespace llvm { + // Lazily allocate set so that release build doesn't have to do anything. static std::set *Objects = 0; static std::set *LLVMObjects = 0; @@ -87,3 +89,5 @@ void LeakDetector::checkForGarbageImpl(const std::string &Message) { Objects = 0; LLVMObjects = 0; } } + +} // End llvm namespace -- cgit v1.2.3