[all-commits] [llvm/llvm-project] 724969: [analyzer] Detect a return value of Ref<T> & RefPt...
Ryosuke Niwa via All-commits
all-commits at lists.llvm.org
Wed Feb 14 14:47:51 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7249692bd24afc81fbbaa24240e3c9bba046f854
https://github.com/llvm/llvm-project/commit/7249692bd24afc81fbbaa24240e3c9bba046f854
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
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-protected-return-value.cpp
Log Message:
-----------
[analyzer] Detect a return value of Ref<T> & RefPtr<T> (#81580)
This PR makes the checker not emit warning when a function is called
with a return value of another function when the return value is of type
Ref<T> or RefPtr<T>.
More information about the All-commits
mailing list