Disable diagnosic path pruning for ReturnUndefChecker.

llvm-svn: 157851
This commit is contained in:
Ted Kremenek 2012-06-01 23:04:04 +00:00
parent ca487d2183
commit 5d6e7c3351
1 changed files with 1 additions and 0 deletions

View File

@ -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));