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
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index e42fa86..8cd82e2 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -2207,6 +2207,8 @@
const char* getDescription() const { return "leak"; }
void FlushReports(BugReporter &BR);
+
+ bool isLeak() const { return true; }
};
class VISIBILITY_HIDDEN LeakAtReturn : public Leak {