commit | 4ecca28e20410f5e2816c5ddff5cdeaf45fb74b5 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Thu Dec 06 18:58:15 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Thu Dec 06 18:58:15 2012 +0000 |
tree | 52bb2074cab18501391d82c1d9f847bd49964c85 | |
parent | fbe4d36f1f83ca12b532e0a946cbffcdb54f904c [diff] |
[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