From dd82519ac6c322a6183954848b5b55deb6c364f7 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 1 Jun 2012 23:04:04 +0000 Subject: [PATCH] Disable diagnosic path pruning for ReturnUndefChecker. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157851 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp b/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp index 7b1f0b139c..0851836f1f 100644 --- a/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp @@ -53,6 +53,7 @@ void ReturnUndefChecker::checkPreStmt(const ReturnStmt *RS, BugReport *report = new BugReport(*BT, BT->getDescription(), N); + report->disablePathPruning(); report->addRange(RetE->getSourceRange()); report->addVisitor(bugreporter::getTrackNullOrUndefValueVisitor(N, RetE, report)); -- 2.40.0