[all-commits] [llvm/llvm-project] 825680: [analyzer] Add the support for calling Ref::ptr ac...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Mon Feb 12 15:00:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82568046e6761f961002ea6c48b5160ba6c7576f
      https://github.com/llvm/llvm-project/commit/82568046e6761f961002ea6c48b5160ba6c7576f
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/test/Analysis/Checkers/WebKit/mock-types.h
    A clang/test/Analysis/Checkers/WebKit/ref-ptr-accessor.cpp

  Log Message:
  -----------
  [analyzer] Add the support for calling Ref::ptr accessor. (#80919)

This accessor returns a pointer from Ref type and is therefore safe.




More information about the All-commits mailing list