diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-18 03:39:05 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-18 03:39:05 +0000 |
commit | 8dd564630c901d6d62dd2ffd4110b613d0055078 (patch) | |
tree | 2275d19dffcfd779d3355be4c900f81658220aec /lib/Analysis/BugReporter.cpp | |
parent | 38941b5b545ba68fa6d723a4123eec8deb7f5e5d (diff) |
BugReport::VisitNode now takes BugReporter& instead of ASTContext&.
Shuffled around code in CFRefCount to better pair classes with implementation,
and started adding subclasses of RangedBugReport to handle better diagnostics
for reference count bugs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r-- | lib/Analysis/BugReporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index 743f44bb32..e74295c311 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp @@ -135,7 +135,7 @@ FullSourceLoc BugReport::getLocation(SourceManager& Mgr) { PathDiagnosticPiece* BugReport::VisitNode(ExplodedNode<ValueState>* N, ExplodedNode<ValueState>* PrevN, ExplodedGraph<ValueState>& G, - ASTContext& Ctx) { + BugReporter& BR) { return NULL; } @@ -352,7 +352,7 @@ void BugReporter::GeneratePathDiagnostic(PathDiagnostic& PD, } } else - if (PathDiagnosticPiece* piece = R.VisitNode(N, NextNode, *GTrim, Ctx)) + if (PathDiagnosticPiece* piece = R.VisitNode(N, NextNode, *GTrim, *this)) PD.push_front(piece); } } |