diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-03-20 20:35:48 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-03-20 20:35:48 +0000 |
commit | e1a2e90876cbe2187250939374d26036ccba2ad6 (patch) | |
tree | 638936311d5f83f99794b21a7db8a94edfda0acd /lib/StaticAnalyzer/Core/RegionStore.cpp | |
parent | fecedc7ae1f515657b336a0249528a1486ec6675 (diff) |
[analyzer] Remove strip of ElementRegion in CallEvent::invalidateRegions.
This is a bit of old code trying to deal with the fact that functions that
take pointers often use them to access an entire array via pointer
arithmetic. However, RegionStore already conservatively assumes you can use
pointer arithmetic to access any part of a region.
Some day we may want to go back to handling this specifically for calls,
but we can do that in the future.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/RegionStore.cpp')
0 files changed, 0 insertions, 0 deletions