diff --git a/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp index c3c9ed72345e..a27fa1dcbec8 100644 --- a/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp @@ -82,6 +82,8 @@ void UndefResultChecker::checkPostStmt(const BinaryOperator *B, else report->addVisitor(bugreporter::getTrackNullOrUndefValueVisitor(N, B, report)); + + report->disablePathPruning(); C.EmitReport(report); } }