]> granicus.if.org Git - clang/commitdiff
Add FIXME comment.
authorTed Kremenek <kremenek@apple.com>
Sun, 27 Sep 2009 20:50:04 +0000 (20:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Sun, 27 Sep 2009 20:50:04 +0000 (20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82924 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 6b7799c505a75fb6222d8de9526c817b89f89e05..da04d68dcf04dd70951e278709fe96e236405d96 100644 (file)
@@ -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())