diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-08-06 06:54:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-08-06 06:54:45 +0000 |
commit | 993124ecdd44ec1430a3b7f01b22f65bbaadb586 (patch) | |
tree | 37cf3a5e149a09a6e262a8f5d3f2ff14a9724aa1 /lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | 82cd2e5c15aa909ec9613c4228ab69e07f1c6f7a (diff) |
[analyzer] Start sketching out a new BugReporterVisitor that inspects branches and other expressions to generate interesting path events in diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index de59943d63..0d0ea8b889 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -1619,6 +1619,7 @@ void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD, // Register node visitors. R->registerInitialVisitors(PDB, N); bugreporter::registerNilReceiverVisitor(PDB); + bugreporter::registerConditionVisitor(PDB); switch (PDB.getGenerationScheme()) { case PathDiagnosticClient::Extensive: |