//===-- Support/LeakDetector.h - Provide simple leak detection --*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file defines a class that can be used to provide very simple memory leak
// checks for an API. Basically LLVM uses this to make sure that Instructions,
#define SUPPORT_LEAKDETECTOR_H
#include <string>
+
+namespace llvm {
+
class Value;
struct LeakDetector {
static void checkForGarbageImpl(const std::string &Message);
};
+} // End llvm namespace
+
#endif