[clang] [analyzer] Preserve LocAsInteger through identity operations (PR #225048)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 23 07:17:10 PDT 2026
================
@@ -922,18 +867,13 @@ features cannot lower the translation-unit ABI level;
### Code Completion
-- Parameters declared with a `decltype` are now presented as the type the
- `decltype` resolves to, e.g. `set_x(int val)` rather than
- `set_x(decltype(x) val)`. This affects the completion strings produced by
- libclang as well as those used by clangd.
-
-- Members inherited from a dependent base class that is named through an alias
- template are suggested by code completion when relevant.
-
### Static Analyzer
#### Crash and bug fixes
+- Fixed a false positive `unix.Malloc` leak report for identity operations on
+ integers converted from pointers.
----------------
steakhal wrote:
```suggestion
integers converted from pointers. (GH#220972)
```
https://github.com/llvm/llvm-project/pull/225048
More information about the cfe-commits
mailing list