forked from OSchip/llvm-project
Change "leaks" to have the category "Performance".
llvm-svn: 56735
This commit is contained in:
parent
00e36f4c5c
commit
16a59fabec
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue