summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/BugReporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Checker/BugReporter.cpp')
-rw-r--r--clang/lib/Checker/BugReporter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Checker/BugReporter.cpp b/clang/lib/Checker/BugReporter.cpp
index f26d16120e9..d4b150294e6 100644
--- a/clang/lib/Checker/BugReporter.cpp
+++ b/clang/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:
OpenPOWER on IntegriCloud