aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-09-27 20:50:04 +0000
committerTed Kremenek <kremenek@apple.com>2009-09-27 20:50:04 +0000
commitbada1aad0939021f9caee4feeda9eedf5a2b9e3b (patch)
tree8909b4c5deefa964832268632311994e9825cde1 /lib/Analysis/RegionStore.cpp
parent8780679b02bea5ab6360f3f8ebf3b221aaeda93f (diff)
Add FIXME comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r--lib/Analysis/RegionStore.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp
index 6b7799c505..da04d68dcf 100644
--- a/lib/Analysis/RegionStore.cpp
+++ b/lib/Analysis/RegionStore.cpp
@@ -514,6 +514,10 @@ const GRState *RegionStoreManager::InvalidateRegion(const GRState *state,
continue;
}
+ // FIXME: Special case FieldRegion/ElementRegion for more
+ // efficient invalidation. We don't need to conjure symbols for
+ // these regions in all cases.
+
// Get the old binding. Is it a region? If so, add it to the worklist.
if (const SVal *OldV = B.lookup(R)) {
if (const MemRegion *RV = OldV->getAsRegion())