]> granicus.if.org Git - clang/commitdiff
Revert 56735. The old bug categories were more informative.
authorTed Kremenek <kremenek@apple.com>
Sat, 27 Sep 2008 22:02:42 +0000 (22:02 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 27 Sep 2008 22:02:42 +0000 (22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56755 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index 1a9d6b7c7badea358310294a4449872621a00089..adbeff991586000eff972ae6ff22378be19f5b45 100644 (file)
@@ -2022,7 +2022,7 @@ namespace {
     virtual bool isLeak() const { return false; }
 
     const char* getCategory() const { 
-      return "Correctness";
+      return "Memory (Core Foundation/Objective-C)";
     }
   };
   
@@ -2076,10 +2076,6 @@ namespace {
       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; }