[all-commits] [llvm/llvm-project] 6ff33e: [alpha.webkit.NoUnretainedMemberChecker] Ignore sy...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Mon Mar 31 15:00:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ff33edcdc29be049829934399b2fb2585252439
      https://github.com/llvm/llvm-project/commit/6ff33edcdc29be049829934399b2fb2585252439
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-03-31 (Mon, 31 Mar 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefMemberChecker.cpp
    M clang/test/Analysis/Checkers/WebKit/unretained-members.mm

  Log Message:
  -----------
  [alpha.webkit.NoUnretainedMemberChecker] Ignore system-header-defined ivar / property of a forward declared type (#133755)

Prior to this PR, we were emitting warnings for Objective-C ivars and
properties if the forward declaration of the type appeared first in a
non-system header. This PR fixes the checker so tha we'd ignore ivars
and properties defined for a forward declared type.



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