aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-05 00:38:00 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-05 00:38:00 +0000
commite45e57f8b846a3bdee1ecc9445a9bb28e4e9fbac (patch)
tree8bf78d2b29eac5a4226cea9d229e04727220534a /lib/Analysis/CFRefCount.cpp
parent35e67d4387bbe3e7e17ee6b17eaa42eebb0eb9f1 (diff)
Fix regression: Leak (BugType) object should have 'isLeak()' return true.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index e42fa8614c..8cd82e2771 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/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 {