[clang] [analyzer] Improve handling of placement new in `PointerArith` (PR #155855)

Alejandro Álvarez Ayllón via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 28 23:15:08 PDT 2025


================
@@ -74,6 +74,26 @@ class PointerArithChecker
 
 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind)
 
+namespace {
----------------
alejandro-alvarez-sonarsource wrote:

Replaced with `static`

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


More information about the cfe-commits mailing list