[clang] [analyzer] Fix FP for cplusplus.placement new #149240 (PR #150161)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 25 01:15:48 PDT 2025
================
@@ -168,8 +168,8 @@ void f1() {
// bad (not enough space).
----------------
NagyDonat wrote:
If you change the behavior of this checker in this situation, then please update this comment and explain that the code of the test would be problematic on systems where placement array new allocates more memory than the size of the array, but the checker doesn't report this because hopefully this is rare.
https://github.com/llvm/llvm-project/pull/150161
More information about the cfe-commits
mailing list