[all-commits] [llvm/llvm-project] e61e62: [alpha.webkit.ForwardDeclChecker] Ignore unary ope...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed Oct 15 15:29:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e61e6251b692ffe71910bad22b82e41313f003cf
      https://github.com/llvm/llvm-project/commit/e61e6251b692ffe71910bad22b82e41313f003cf
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/ForwardDeclChecker.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    M clang/test/Analysis/Checkers/WebKit/forward-decl-checker.mm
    M clang/test/Analysis/Checkers/WebKit/mock-types.h

  Log Message:
  -----------
  [alpha.webkit.ForwardDeclChecker] Ignore unary operator when detecting a parameter (#160994)

This PR updates the forward declaration checker so that unary operator &
and * will be ignored for the purpose of determining if a given function
argument is also a function argument of the caller / call-site.



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