[all-commits] [llvm/llvm-project] 613601: [alpha.webkit.ForwardDeclChecker] Recognize a forw...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Thu Apr 10 15:28:57 PDT 2025


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

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

  Log Message:
  -----------
  [alpha.webkit.ForwardDeclChecker] Recognize a forward declared template specialization (#134545)

This PR fixes a bug that when a template specialization is declared with
a forward declaration of a template, the checker fails to find its
definition in the same translation unit and erroneously emit an unsafe
forward declaration warning.



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