diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-02-05 00:38:00 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-02-05 00:38:00 +0000 |
| commit | fb379b26607bbc742aad16610d4519fc07ec497a (patch) | |
| tree | df9ae53ceaf0a908201f4aecbbd685a6dd2e6b66 /clang/lib/Analysis | |
| parent | 086b212277c5480198709c7c89bcf2adf411612e (diff) | |
| download | bcm5719-llvm-fb379b26607bbc742aad16610d4519fc07ec497a.tar.gz bcm5719-llvm-fb379b26607bbc742aad16610d4519fc07ec497a.zip | |
Fix regression: Leak (BugType) object should have 'isLeak()' return true.
llvm-svn: 63803
Diffstat (limited to 'clang/lib/Analysis')
| -rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index e42fa8614cc..8cd82e2771d 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -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 { |

