GkvJwa wrote:

> I'm not sure this catches all the cases we need to catch; for example, 
> #109576 has a testcase with a new expression.

```
struct A {
  ~A();
};

void f() {
  __try {
    A* a = new A;
    delete a;
  } __finally {
  }
}
```

This is valid in MSVC, and I think this might be the issue that @MuellerMP is 
fixing.

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

Reply via email to