[all-commits] [llvm/llvm-project] 49f175: [alpha.webkit.UncheckedCallArgsChecker] Don't emit...
Ryosuke Niwa via All-commits
all-commits at lists.llvm.org
Mon Sep 8 11:14:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49f17515227d8eb8894c13957b642c4200507806
https://github.com/llvm/llvm-project/commit/49f17515227d8eb8894c13957b642c4200507806
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-09-08 (Mon, 08 Sep 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/test/Analysis/Checkers/WebKit/unchecked-call-arg.cpp
Log Message:
-----------
[alpha.webkit.UncheckedCallArgsChecker] Don't emit a warning for passing a temporary object as an argument. (#155033)
Since a temporary object lives until the end of the statement, it's safe
to pass such an object as a function argument without explicitly
creating a CheckedRef/CheckedPtr in stack.
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