[all-commits] [llvm/llvm-project] 984475: [RawPtrRefMemberChecker] Add the support for union...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Fri May 9 17:44:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 984475d82df8d75095c987c909073cec83d5375e
      https://github.com/llvm/llvm-project/commit/984475d82df8d75095c987c909073cec83d5375e
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-05-09 (Fri, 09 May 2025)

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

  Log Message:
  -----------
  [RawPtrRefMemberChecker] Add the support for union and pointers to unsafe pointers. (#138042)

This PR adds support for detecting unsafe union members and pointers to
unsafe pointers (e.g. T** where T* is an unsafe pointer 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