]> granicus.if.org Git - clang/commit
[analyzer] Use a smarter algorithm to find the last block in an inlined call.
authorJordan Rose <jordan_rose@apple.com>
Thu, 6 Dec 2012 18:58:15 +0000 (18:58 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 6 Dec 2012 18:58:15 +0000 (18:58 +0000)
commit4ecca28e20410f5e2816c5ddff5cdeaf45fb74b5
tree52bb2074cab18501391d82c1d9f847bd49964c85
parentfbe4d36f1f83ca12b532e0a946cbffcdb54f904c
[analyzer] Use a smarter algorithm to find the last block in an inlined call.

Previously we would search for the last statement, then back up to the
entrance of the block that contained that statement. Now, while we're
scanning for the statement, we just keep track of which blocks are being
exited (in reverse order).

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