diff options
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index adbeff99158..1a9d6b7c7ba 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/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; } |