diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 6b7799c505a7..da04d68dcf04 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())