forked from OSchip/llvm-project
Disable diagnosic path pruning for ReturnUndefChecker.
llvm-svn: 157851
This commit is contained in:
parent
ca487d2183
commit
5d6e7c3351
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue