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

Ted Kremenek kremenek at apple.com
Sat Sep 27 15:02:43 PDT 2008


Author: kremenek
Date: Sat Sep 27 17:02:42 2008
New Revision: 56755

URL: http://llvm.org/viewvc/llvm-project?rev=56755&view=rev
Log:
Revert 56735.  The old bug categories were more informative.

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=56755&r1=56754&r2=56755&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Sat Sep 27 17:02:42 2008
@@ -2022,7 +2022,7 @@
     virtual bool isLeak() const { return false; }
 
     const char* getCategory() const { 
-      return "Correctness";
+      return "Memory (Core Foundation/Objective-C)";
     }
   };
   
@@ -2076,10 +2076,6 @@
       return "Object leaked";
     }
     
-    const char* getCategory() const { 
-      return "Performance";
-    }
-    
     virtual void EmitWarnings(BugReporter& BR);
     virtual void GetErrorNodes(std::vector<ExplodedNode<GRState>*>& Nodes);
     virtual bool isLeak() const { return true; }





More information about the cfe-commits mailing list