Files
clang-p2996/clang/lib/Analysis/CFG.cpp
Jameson Nash 9b8297bc7e [analyzer] Do not destruct fields of unions (#122330)
The C++ standard prohibits this implicit destructor call, leading to
incorrect reports from clang-analyzer. This causes projects that use
std::option (including llvm) to fail the cplusplus.NewDelete test
incorrectly when run through the analyzer.

Fixes #119415
2025-02-07 08:01:39 +01:00

210 KiB