[clang] Clang Static Analyzer: Fix stack overflow in template-heavy code (PR #184767)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 04:35:05 PST 2026


================
@@ -2619,6 +2651,8 @@ std::optional<LimitedRegionBindingsRef> RegionStoreManager::tryBindSmallArray(
     return std::nullopt;
 
   LimitedRegionBindingsRef NewB = B;
+  // llvm::errs() << "bindArray: RecursionLeft=" << B.RecursionLeft << "\n";
+  llvm::errs() << "bindArray: RecursionLeft=" << B.RecursionLeft << "\n";
----------------
NagyDonat wrote:

These debug printouts should be removed before the PR is finalized. (Btw they are really helpful during development and ocassionally I also forget to delete them.)

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


More information about the cfe-commits mailing list