[clang] [clang][seh]: Fix c++ destructors when c++ exceptions are disabled (PR #151836)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 2 16:54:32 PDT 2025


phoebewang wrote:

Is the problem happening when enabling async-exceptions but not cxx-exceptions on c++ objects? I'm not sure if it's a valid scenario. The designed requires `cxx-exceptions`, see descriptions in https://github.com/llvm/llvm-project/commit/797ad701522988e212495285dade8efac41a24d4

Maybe we can emit an error for such case instead?

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


More information about the cfe-commits mailing list