[clang] [Clang] enhance loop analysis to handle variable changes inside lambdas (PR #135573)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 17 15:19:02 PDT 2025


================
@@ -299,3 +299,18 @@ void test10() {
   for (auto[i, j, k] = arr; i < a; ++i) { }
   for (auto[i, j, k] = arr; i < a; ++arr[0]) { }
 };
+
+extern void foo(int);
----------------
a-tarasyuk wrote:

@shafik, thanks for the review. I've updated tests

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


More information about the cfe-commits mailing list