[all-commits] [llvm/llvm-project] 1d6e68: [analyzer] Conversion to CheckerFamily: NSOrCFErro...

Donát Nagy via All-commits all-commits at lists.llvm.org
Wed Jul 30 04:55:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d6e68e63aa28783ad0de7d0b46238ce95849f2f
      https://github.com/llvm/llvm-project/commit/1d6e68e63aa28783ad0de7d0b46238ce95849f2f
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp

  Log Message:
  -----------
  [analyzer] Conversion to CheckerFamily: NSOrCFErrorDerefChecker (#151171)

This commit converts the class `NSOrCFErrorDerefChecker` to the checker
family framework and simplifies some parts of the implementation (e.g.
removes two very trivial subclasses of `BugType`).

This commit is almost NFC, the only technically "functional" change is
that it removes the hidden modeling checker `NSOrCFErrorDerefChecker`
which was only relevant as an implementation detail of the old checker
registration procedure.



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