commit | ce56fd3d6ddf3f1b7ae1a3ca3dd4a8768222594c | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Jun 06 06:25:37 2012 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Jun 06 06:25:37 2012 +0000 |
tree | 04bec29f329aa0486d236a752564862875e29134 | |
parent | 113c4448003ff6fd76eaabde08d3ebfffd8a327a [diff] |
Disable path pruning for UndefResultChecker. It turns out we usually want to see more of the path to discover how a value was used uninitialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158048 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp b/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp index c3c9ed7..a27fa1d 100644 --- a/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
@@ -82,6 +82,8 @@ else report->addVisitor(bugreporter::getTrackNullOrUndefValueVisitor(N, B, report)); + + report->disablePathPruning(); C.EmitReport(report); } }