[cfe-commits] r56735 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Ted Kremenek
kremenek at apple.com
Fri Sep 26 17:45:27 PDT 2008
Author: kremenek
Date: Fri Sep 26 19:45:27 2008
New Revision: 56735
URL: http://llvm.org/viewvc/llvm-project?rev=56735&view=rev
Log:
Change "leaks" to have the category "Performance".
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=56735&r1=56734&r2=56735&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Fri Sep 26 19:45:27 2008
@@ -2022,7 +2022,7 @@
virtual bool isLeak() const { return false; }
const char* getCategory() const {
- return "Memory (Core Foundation/Objective-C)";
+ return "Correctness";
}
};
@@ -2076,6 +2076,10 @@
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