Fix regression: Leak (BugType) object should have 'isLeak()' return true.
llvm-svn: 63803
This commit is contained in:
parent
086b212277
commit
fb379b2660
|
@ -2207,6 +2207,8 @@ namespace {
|
|||
const char* getDescription() const { return "leak"; }
|
||||
|
||||
void FlushReports(BugReporter &BR);
|
||||
|
||||
bool isLeak() const { return true; }
|
||||
};
|
||||
|
||||
class VISIBILITY_HIDDEN LeakAtReturn : public Leak {
|
||||
|
|
Loading…
Reference in New Issue