diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-06-23 18:17:08 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-06-23 18:17:08 +0000 |
commit | bb7c96f290453104ec35ca17111a5165f68a4697 (patch) | |
tree | ccfc2ca389e182bf11d1bc04f99a8f3f3a1e5df6 /lib/Analysis/BasicStore.cpp | |
parent | 3c092bce5fb4523854c3429e0af44f99c6fe2b92 (diff) |
- Add MemRegion::getMemorySpace()
- Change implementation of MemRegion::hasStackStorage()/hasHeapStorage() to use
'getMemorySpace()'. This avoids a double traversal up the region hierarchy
and is simpler.
- Add MemRegion::hasHeapOrStackStorage() as a slightly more efficient
alternative to 'hasStackStorage() || hasHeapStorage()'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
0 files changed, 0 insertions, 0 deletions