[all-commits] [llvm/llvm-project] 5f8b25: Check the type of Objective-C++ instance variables...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed Feb 19 13:24:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f8b2568219d5e516928aed67f13b59de8ccee17
      https://github.com/llvm/llvm-project/commit/5f8b2568219d5e516928aed67f13b59de8ccee17
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefMemberChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/unchecked-members-objc.mm
    A clang/test/Analysis/Checkers/WebKit/uncounted-members-objc.mm

  Log Message:
  -----------
  Check the type of Objective-C++ instance variables in WebKit member variable checkers. (#127570)

Like a C++ member variable, every Objective-C++ instance variable must
be a RefPtr, Ref CheckedPtr, or CheckedRef to an object, not a raw
pointer or reference.



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