GkvJwa wrote:

> This is not related to the issue I'm trying to fix currently.
> 
> My first guess would be that there might be an unwinding pad that only gets 
> generated in clang and not in msvc.
> 
> Edit: I just looked at the original issue. So I think it would be valid to 
> reject this code if we don't use the deleting dtor right? Does the current 
> fix already reject this?

The current fix will not reject this case, creating objects using `new` and 
`delete` does not belong to DestructionKind.

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