Rajveer100 wrote:

Moving the checks does work for these limited cases, but now that we don't have 
them there, one of the old tests now doesn't show up the diagnosis:

```c++
void f() {
  throw;
}

void g() {
  try {
    f();
  } catch (...) {
  }
}
```

Since there is a separate call:

```c++
return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers);
```

and debugging under lldb breakpoints don't reach (i.e exit) the transform calls.

https://github.com/llvm/llvm-project/pull/139859
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to