diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-02-15 00:32:06 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-02-15 00:32:06 +0000 |
commit | 0a0f1309d0fbeb0e77edbbc4e0b15cc330c3a28c (patch) | |
tree | 5f65a23f83cd21376e82dcbbdac95fd839325d86 /unittests/Format/FormatTest.cpp | |
parent | 9d688e219caa37e60975ec8d5bebe74a176c9c2b (diff) |
[analyzer] Use collectSubRegionKeys to make removeDeadBindings faster.
Previously, whenever we had a LazyCompoundVal, we crawled through the
entire store snapshot looking for bindings within the LCV's region. Now, we
just ask for the subregion bindings of the lazy region and only visit those.
This is an optimization (so no test case), but it may allow us to clean up
more dead bindings than we were previously.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions