C++ Standard Version Mix-up

At work we use the LLVM/clang libraries for pre-processing and parsing C/C++ stuff. During some experimenting with the current master version of these libraries, I stumbled on unexpected crashes inside our unit-tests on Windows. We work with MSVC 2019 on Windows and all worked fine with LLVM 9.x, but with master, close to all my tests did now segfault in aligned_free. I first thought that might be some current regression in LLVM master, but after tracing it back to having DenseSet/Map crashing during destruction, this seemed unlikely....

December 21, 2019 · 2 min · Christoph Cullmann