[all-commits] [llvm/llvm-project] 4dcba5: [alpha.webkit.ForwardDeclChecker] Add a new WebKit...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Wed Mar 12 20:21:43 PDT 2025


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

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    A clang/lib/StaticAnalyzer/Checkers/WebKit/ForwardDeclChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/forward-decl-checker.mm
    M clang/test/Analysis/Checkers/WebKit/mock-system-header.h
    M clang/test/Analysis/Checkers/WebKit/objc-mock-types.h

  Log Message:
  -----------
  [alpha.webkit.ForwardDeclChecker] Add a new WebKit checker for forward declarations (#130554)

Add a new static analyzer which emits warnings for function call
arguments, local variables, and member variables that are only forward
declared. These forward declaration prevents other WebKit checkers from
checking the safety of code.



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