Revert 56735. The old bug categories were more informative.
llvm-svn: 56755
This commit is contained in:
@@ -2022,7 +2022,7 @@ namespace {
|
|||||||
virtual bool isLeak() const { return false; }
|
virtual bool isLeak() const { return false; }
|
||||||
|
|
||||||
const char* getCategory() const {
|
const char* getCategory() const {
|
||||||
return "Correctness";
|
return "Memory (Core Foundation/Objective-C)";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2076,10 +2076,6 @@ namespace {
|
|||||||
return "Object leaked";
|
return "Object leaked";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* getCategory() const {
|
|
||||||
return "Performance";
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual void EmitWarnings(BugReporter& BR);
|
virtual void EmitWarnings(BugReporter& BR);
|
||||||
virtual void GetErrorNodes(std::vector<ExplodedNode<GRState>*>& Nodes);
|
virtual void GetErrorNodes(std::vector<ExplodedNode<GRState>*>& Nodes);
|
||||||
virtual bool isLeak() const { return true; }
|
virtual bool isLeak() const { return true; }
|
||||||
|
|||||||
Reference in New Issue
Block a user