[all-commits] [llvm/llvm-project] a05aed: [RawPtrRefMemberChecker] Member variable checker s...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed Apr 23 12:42:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a05aeda30534fe30dfcccebb61b78489847e5192
      https://github.com/llvm/llvm-project/commit/a05aeda30534fe30dfcccebb61b78489847e5192
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    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

  Log Message:
  -----------
  [RawPtrRefMemberChecker] Member variable checker should allow T* in smart pointer classes (#136503)

This PR fixes member variable checker to allow the usage of T* in smart
pointer classes. e.g. alpha.webkit.NoUncheckedPtrMemberChecker should
allow T* to appear within RefPtr.



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