diff options
Diffstat (limited to 'lib/StaticAnalyzer/Core/CFRefCount.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/CFRefCount.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/CFRefCount.cpp b/lib/StaticAnalyzer/Core/CFRefCount.cpp index 3c395fe282..78325f366c 100644 --- a/lib/StaticAnalyzer/Core/CFRefCount.cpp +++ b/lib/StaticAnalyzer/Core/CFRefCount.cpp @@ -1994,7 +1994,8 @@ namespace { PathDiagnosticPiece *VisitNode(const ExplodedNode *N, const ExplodedNode *PrevN, - BugReporterContext &BRC); + BugReporterContext &BRC, + BugReport &BR); }; class CFRefLeakReport : public CFRefReport { @@ -2061,7 +2062,8 @@ static inline bool contains(const SmallVectorImpl<ArgEffect>& V, PathDiagnosticPiece *CFRefReport::VisitNode(const ExplodedNode *N, const ExplodedNode *PrevN, - BugReporterContext &BRC) { + BugReporterContext &BRC, + BugReport &BR) { if (!isa<PostStmt>(N->getLocation())) return NULL; |