[cfe-commits] r63803 - /cfe/trunk/lib/Analysis/CFRefCount.cpp

Ted Kremenek kremenek at apple.com
Wed Feb 4 16:38:00 PST 2009


Author: kremenek
Date: Wed Feb  4 18:38:00 2009
New Revision: 63803

URL: http://llvm.org/viewvc/llvm-project?rev=63803&view=rev
Log:
Fix regression: Leak (BugType) object should have 'isLeak()' return true.

Modified:
    cfe/trunk/lib/Analysis/CFRefCount.cpp

Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=63803&r1=63802&r2=63803&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Wed Feb  4 18:38:00 2009
@@ -2207,6 +2207,8 @@
     const char* getDescription() const { return "leak"; }
 
     void FlushReports(BugReporter &BR);
+    
+    bool isLeak() const { return true; }
   };
     
   class VISIBILITY_HIDDEN LeakAtReturn : public Leak {





More information about the cfe-commits mailing list