]> granicus.if.org Git - clang/commit
StoreManager::NewCastRegion:
authorTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 22:23:45 +0000 (22:23 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 22:23:45 +0000 (22:23 +0000)
commit411af40d038947b6d2a8ad9549c85c1c4c52d15a
tree86d5068c483ae11523ca7b2c6bfd332178ca172b
parente1cea75e70d76f55157749a7bcad319050492945
StoreManager::NewCastRegion:
- Refactor logic that creates ElementRegions into a help method 'MakeElementRegion'.
- Fix crash due to not handling StringRegions.  Casts of StringRegions now
  result in a new ElementRegion layered on the original StringRegion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74867 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/Store.cpp
test/Analysis/misc-ps.m