]> granicus.if.org Git - clang/commit
Revert "[analyzer] Do part of the work to find shortest bug paths up front."
authorJordan Rose <jordan_rose@apple.com>
Tue, 19 Mar 2013 22:10:35 +0000 (22:10 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 19 Mar 2013 22:10:35 +0000 (22:10 +0000)
commit239b6e47d282bd66c8b559ac47b8b42b34da619e
tree26ae846ff41a8a9a0f347f4901d277f1451455c8
parentc7936c9b2b195d099ffbb7ab32f0211a89a3270b
Revert "[analyzer] Do part of the work to find shortest bug paths up front."

The whole reason we were doing a BFS in the first place is because an
ExplodedGraph can have cycles. Unfortunately, my removeErrorNode "update"
doesn't work at all if there are cycles.

I'd still like to be able to avoid doing the BFS every time, but I'll come
back to it later.

This reverts r177353 / 481fa5071c203bc8ba4f88d929780f8d0f8837ba.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177448 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/BugReporter.cpp