[all-commits] [llvm/llvm-project] b64ed9: [WebKit checkers] Recognize NS_RETURNS_RETAINED an...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Thu Sep 11 13:33:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b64ed9d79ebc4887d7452f5fa4d08cfa6640f8ab
      https://github.com/llvm/llvm-project/commit/b64ed9d79ebc4887d7452f5fa4d08cfa6640f8ab
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
    M clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
    M clang/test/Analysis/Checkers/WebKit/unretained-local-vars.mm

  Log Message:
  -----------
  [WebKit checkers] Recognize NS_RETURNS_RETAINED and CF_RETURNS_RETAINED. (#157629)

This PR adds the support for treating a function return value to be safe
if the function is annotated with NS_RETURNS_RETAINED or
CF_RETURNS_RETAINED.



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