aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Target/LLVMIR/ModuleImport.cpp
diff options
context:
space:
mode:
authorAethezz <64500703+Aethezz@users.noreply.github.com>2025-07-30 09:14:06 -0400
committerGitHub <noreply@github.com>2025-07-30 15:14:06 +0200
commit635e6d76530328b8412fbf985708dad26e3f8ea5 (patch)
treee27b6af9262c90ef45f683220de8f2a6ef293418 /mlir/lib/Target/LLVMIR/ModuleImport.cpp
parent807a82d40789a5e50174f979accca77c8b6841b5 (diff)
downloadllvm-635e6d76530328b8412fbf985708dad26e3f8ea5.zip
llvm-635e6d76530328b8412fbf985708dad26e3f8ea5.tar.gz
llvm-635e6d76530328b8412fbf985708dad26e3f8ea5.tar.bz2
[analyzer] Fix FP for cplusplus.placement new #149240 (#150161)
Fix false positive where warnings were asserted for placement new even when no additional space is requested The PlacementNewChecker incorrectly triggered warnings when the storage provided matched or exceeded the allocated type size, causing false positives. Now the warning triggers only when the provided storage is strictly less than the required size. Add test cases covering exact size, undersize, and oversize scenarios to validate the fix. Fixes #149240
Diffstat (limited to 'mlir/lib/Target/LLVMIR/ModuleImport.cpp')
0 files changed, 0 insertions, 0 deletions