aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-09-27 22:02:42 +0000
committerTed Kremenek <kremenek@apple.com>2008-09-27 22:02:42 +0000
commit062bae00f8fc0fdb1dd3ad4b1e14a63eecf4b29d (patch)
treeaaa5b7dee3a38dd4897be0b4b58b37ddc6ef7838 /lib/Analysis/CFRefCount.cpp
parent129271a42975f8b9d42adc707be9883db91c8a5d (diff)
Revert 56735. The old bug categories were more informative.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 1a9d6b7c7b..adbeff9915 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -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; }