summaryrefslogtreecommitdiffstats
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
commit67b216a1d9b0642d59603297df9e3fff0fa8f84f (patch)
tree893aa31b4995e7184e66980f06bade0f6b542b4e
parentb391e8726358dd0e2af97156eb3b0ae235d5c7da (diff)
downloadbcm5719-llvm-67b216a1d9b0642d59603297df9e3fff0fa8f84f.tar.gz
bcm5719-llvm-67b216a1d9b0642d59603297df9e3fff0fa8f84f.zip
Add FIXME comment.
llvm-svn: 82924
-rw-r--r--clang/lib/Analysis/RegionStore.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 6b7799c505a..da04d68dcf0 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/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())
OpenPOWER on IntegriCloud