[all-commits] [llvm/llvm-project] cf9be9: [NFC][analyzer] Clean bug type use in BasicObjCFou...

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


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp

  Log Message:
  -----------
  [NFC][analyzer] Clean bug type use in BasicObjCFoundationChecks (#151141)

This commit eliminates some corrupted variants of the once-widespread
`mutable std::unique_ptr<BugType>` antipattern from the checker file
`BasicObjCFoundationChecks.cpp`.

Previous purges probably missed these because there are slight mutations
(e.g. using a subclass of `BugType` instead of `BugType`) and therefore
some natural search terms (e.g. `make_unique<BugType>`) didn't produce
matches in this file.



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