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)
commit431e4e4d0e57b62231e214fa87edb1b3de3da97d
treea4b34bf33215793864c3f4d530aff38b44d697eb
parent9502ac61120905e20ee3e045ad15b00bfc95d261
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.

llvm-svn: 177448
clang/lib/StaticAnalyzer/Core/BugReporter.cpp