]> granicus.if.org Git - clang/commitdiff
Change "leaks" to have the category "Performance".
authorTed Kremenek <kremenek@apple.com>
Sat, 27 Sep 2008 00:45:27 +0000 (00:45 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 27 Sep 2008 00:45:27 +0000 (00:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56735 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

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