[clang] [clang codegen] Fix MS ABI with deleted template constructor (PR #237634)

Patrick Colis via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 05:04:54 PST 2026


PColis wrote:

Sorry, I'm a newbie and don't known how everything works between LLVM (Clang-CL) et MSVC (STL).

STL side, the ticket was closed now. This means that no patch will be applied in the STL meanwhile.
LLVM side, a patch is done but it will only be integrated in a future version (23 ? 24 ?)

But now, everyone on Windows that mixes MSVC (for vcpkg) and Clang (because it's better) will probably encounter a crash using C++20+ ?
Visual Studio is actually shipped with clang-cl 22.1.3 and with an incompatible STL version.

If a have correctly understood, the only way to go for now is to use a previous STL version ?
And waiting for the patch being applied in any future LLVM version ?

This sound very strange for such a bug that leads to memory corruption and crashes ?

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


More information about the cfe-commits mailing list