X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FLeakDetector.h;h=92784ee4c891f6d6a69f13d25ee5a3a53054414e;hb=a727d5502c8e23c090da658bf14c5ebc1169a070;hp=e2ce9c50beac954bc158833121cd9bce656de589;hpb=d0fde30ce850b78371fd1386338350591f9ff494;p=oota-llvm.git diff --git a/include/llvm/Support/LeakDetector.h b/include/llvm/Support/LeakDetector.h index e2ce9c50bea..92784ee4c89 100644 --- a/include/llvm/Support/LeakDetector.h +++ b/include/llvm/Support/LeakDetector.h @@ -1,10 +1,10 @@ -//===-- Support/LeakDetector.h - Provide simple leak detection --*- C++ -*-===// -// +//===-- llvm/Support/LeakDetector.h - Provide 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 @@ -19,8 +19,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_LEAKDETECTOR_H -#define SUPPORT_LEAKDETECTOR_H +#ifndef LLVM_SUPPORT_LEAKDETECTOR_H +#define LLVM_SUPPORT_LEAKDETECTOR_H #include @@ -48,7 +48,7 @@ struct LeakDetector { removeGarbageObjectImpl(Object); #endif } - + /// checkForGarbage - Traverse the internal representation of garbage /// pointers. If there are any pointers that have been add'ed, but not /// remove'd, big obnoxious warnings about memory leaks are issued.