[clang] [MS][clang] Error about ambiguous operator delete[] only when required (PR #135041)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 01:10:53 PDT 2025


Fznamznon wrote:

Alternatively we can silently fallback to calling scalar operator delete whose presence is enforced by diagnoistics (i.e call SOMETHING in the vector deleting destructor like MSVC does) so we don't crash while emitting the destructor and rely on new[]/delete[] diagnostics.

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


More information about the cfe-commits mailing list