[all-commits] [llvm/llvm-project] b2b38d: [WebKit Checkers][NFC] Extract hasPublicMethodInHi...

geoffreygaren via All-commits all-commits at lists.llvm.org
Fri Sep 18 12:11:58 PDT 2026


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp

  Log Message:
  -----------
  [WebKit Checkers][NFC] Extract hasPublicMethodInHierarchy from isSmartPtrCompatible (#224697)

So we can reuse it in borrow checking.

hasPublicMethodInHierarchy identifies RefCounted via 'ref' and 'deref'
public
member functions.

Borrow checking will identify CanBorrow via a 'crashIfBorrowed' public
member
function.

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