diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-03-20 01:17:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-03-20 01:17:30 +0000 |
commit | 2d46f4dc297b32eff154a26c0e3bc16b6c66b78c (patch) | |
tree | 8b440336cff60f42840c4e9d54e06728f19f3cdd /lib/Checker/BugReporter.cpp | |
parent | 365b0bd38964c57f7e9fcace1eaf9877fb3b0485 (diff) |
Augment path diagnostics to include displaying when a message expression
is not evaluated because the receiver is nil.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/BugReporter.cpp')
-rw-r--r-- | lib/Checker/BugReporter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp index 0cf593b260..c7438447bb 100644 --- a/lib/Checker/BugReporter.cpp +++ b/lib/Checker/BugReporter.cpp @@ -1613,7 +1613,9 @@ void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD, else return; + // Register node visitors. R->registerInitialVisitors(PDB, N); + bugreporter::registerNilReceiverVisitor(PDB); switch (PDB.getGenerationScheme()) { case PathDiagnosticClient::Extensive: |