mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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
This commit is contained in:
@@ -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 @@ void LeakDetector::checkForGarbageImpl(const std::string &Message) {
|
||||
Objects = 0; LLVMObjects = 0;
|
||||
}
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user