================

----------------
zeyi2 wrote:

Can we add more test cases?

Example:

```cpp
void test_init_stmt_true() {
  if (int i = 0; true) {
    // CHECK-FIXES: { int i = 0; foo(i); }
    foo(i);
  }
}
```

https://github.com/llvm/llvm-project/pull/172220
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to