Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/LeakDetector.cpp b/lib/Support/LeakDetector.cpp
index 24c946a..ffb081a 100644
--- a/lib/Support/LeakDetector.cpp
+++ b/lib/Support/LeakDetector.cpp
@@ -15,6 +15,8 @@
#include "llvm/Value.h"
#include <set>
+namespace llvm {
+
// Lazily allocate set so that release build doesn't have to do anything.
static std::set<const void*> *Objects = 0;
static std::set<const Value*> *LLVMObjects = 0;
@@ -87,3 +89,5 @@
Objects = 0; LLVMObjects = 0;
}
}
+
+} // End llvm namespace