diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-27 00:45:27 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-27 00:45:27 +0000 |
commit | 3a7d1e978570b081f7db23b7175f59ff7b020f62 (patch) | |
tree | 6f5267b27cea9c5b279538417802f9df69c1d246 | |
parent | ced4fcb23329b5d93cf19c506d149164352c8463 (diff) |
Change "leaks" to have the category "Performance".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56735 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index adbeff9915..1a9d6b7c7b 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 "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; } |