aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/BugReporter.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-03-20 18:02:01 +0000
committerTed Kremenek <kremenek@apple.com>2010-03-20 18:02:01 +0000
commitff7f736211070be873df0a345295fd1453ee7c50 (patch)
tree5ec2cdb727390227fc878aae95dfd52590d6452e /lib/Checker/BugReporter.cpp
parent1b431023814196f87515a540ebcb9e9f1a9176a1 (diff)
Reapply r99024 (but with the memory issue now fixed).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/BugReporter.cpp')
-rw-r--r--lib/Checker/BugReporter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp
index f26d16120e..d4b150294e 100644
--- a/lib/Checker/BugReporter.cpp
+++ b/lib/Checker/BugReporter.cpp
@@ -1628,7 +1628,9 @@ void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD,
else
return;
+ // Register node visitors.
R->registerInitialVisitors(PDB, N);
+ bugreporter::registerNilReceiverVisitor(PDB);
switch (PDB.getGenerationScheme()) {
case PathDiagnosticClient::Extensive: