[clang] [MS][clang] Make sure vector deleting dtor calls correct operator delete (PR #133950)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 14 02:38:11 PDT 2025


zmodem wrote:

> Thanks! Unfortunately it looks like the fix introduced a regression of #134265 on Windows. Repro:

(For reference, this is https://crbug.com/410000261 on our side.)

The "deleted operator delete[]" is coming from here: https://source.chromium.org/chromium/chromium/src/+/main:v8/include/cppgc/garbage-collected.h;l=61

Rejecting the code seems wrong, since that's only happening due to this extension. I'm not sure what the best option is here, but I think we should look closer at what exactly MSVC is emitting.


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


More information about the cfe-commits mailing list