[clang] [analyzer] Limit Store by region-store-binding-limit (PR #127602)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 03:00:06 PST 2025


================
@@ -2782,6 +2865,8 @@ RegionBindingsRef RegionStoreManager::bindStruct(RegionBindingsConstRef B,
 
       if (VI == VE)
         break;
+      if (NewB.hasExhaustedBindingLimit())
+        return NewB.escapeValues(VI, VE);
----------------
balazs-benics-sonarsource wrote:

I've renamed the function as you proposed to `withValuesEscaped` in 2e685b966805

https://github.com/llvm/llvm-project/pull/127602


More information about the cfe-commits mailing list