[all-commits] [llvm/llvm-project] 162edf: [WebKit Checkers] Add alpha.webkit.UnborrowedCallA...

geoffreygaren via All-commits all-commits at lists.llvm.org
Thu Sep 24 00:24:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 162edfe631ac3ac87a9b30500a451a0fa853d164
      https://github.com/llvm/llvm-project/commit/162edfe631ac3ac87a9b30500a451a0fa853d164
  Author: geoffreygaren <ggaren at apple.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M clang/docs/analyzer/checkers.md
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
    M clang/test/Analysis/Checkers/WebKit/mock-canborrow.h
    A clang/test/Analysis/Checkers/WebKit/unborrowed-call-args.cpp

  Log Message:
  -----------
  [WebKit Checkers] Add alpha.webkit.UnborrowedCallArgsChecker (#225854)

Like alpha.webkit.UnborrowedLocalVarsChecker, but for function
arguments.

As in the local variable checker, we do not treat an origin that
outlives a function call as sufficient evidence of safety. We need to
prove not only that an object is live, but also that it prevents
interior destruction.

Assisted-by: Claude



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