Fix regression: Leak (BugType) object should have 'isLeak()' return true.

llvm-svn: 63803
This commit is contained in:
Ted Kremenek 2009-02-05 00:38:00 +00:00
parent 086b212277
commit fb379b2660
1 changed files with 2 additions and 0 deletions

View File

@ -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 {