[all-commits] [llvm/llvm-project] 7809b1: [alpha.webkit.UncheckedCallArgsChecker] Forwarding...
Ryosuke Niwa via All-commits
all-commits at lists.llvm.org
Fri Jun 6 06:50:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7809b147fa52ca4afd5e1aebd1c5cc7559b820c5
https://github.com/llvm/llvm-project/commit/7809b147fa52ca4afd5e1aebd1c5cc7559b820c5
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/test/Analysis/Checkers/WebKit/call-args-checked.cpp
Log Message:
-----------
[alpha.webkit.UncheckedCallArgsChecker] Forwarding r-value reference should not result in a warning (#142471)
This PR fixes the bug that the checker emits a warning when a function
takes T&& and passes it to another function using std::move. We should
treat std::move like any other pointer conversion and the origin of the
pointer to be that of the argument.
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