[all-commits] [llvm/llvm-project] 59e842: [alpha.webkit.UncountedCallArgsChecker] Look throu...
Fady Farag via All-commits
all-commits at lists.llvm.org
Wed Sep 16 01:39:01 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59e842209b868ca110a285c92b8917a3e223995d
https://github.com/llvm/llvm-project/commit/59e842209b868ca110a285c92b8917a3e223995d
Author: Fady Farag <com.webkit.iidmsa at gmail.com>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
A clang/test/Analysis/Checkers/WebKit/call-args-checked-unique-ptr.cpp
A clang/test/Analysis/Checkers/WebKit/call-args-counted-unique-ptr.cpp
Log Message:
-----------
[alpha.webkit.UncountedCallArgsChecker] Look through unique_ptr::get() when finding a pointer's origin (#223568)
Previously, the checker only looked through `operator->` and `operator*`
on `std::unique_ptr`, `UniqueRef` and `LazyUniqueRef` when walking a
call argument back to its origin. It didn't include `get()` and `ptr()`
on those types, which caused an unnecessary warning. This includes
`get()` and `ptr()` on those types such that they are recognized and are
consistent with ref-counted and checked pointers.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list