[all-commits] [llvm/llvm-project] d8fd66: [alpha.webkit.ForwardDeclChecker] Ignore forward d...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Fri Apr 4 12:04:41 PDT 2025


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

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

  Log Message:
  -----------
  [alpha.webkit.ForwardDeclChecker] Ignore forward declared struct. (#133804)

There are some system libraries such as sqlite3 which forward declare a
struct then use a pointer to that forward declared type in various APIs.
Ignore these types ForwardDeclChecker like other pointer types.



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