[all-commits] [llvm/llvm-project] e62299: [analyzer][NFC] Factor out NoOwnershipChangeVisito...

Kristóf Umann via All-commits all-commits at lists.llvm.org
Fri Jun 7 00:49:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e622996eddfb2826d258b3a3760eed195f97aabe
      https://github.com/llvm/llvm-project/commit/e622996eddfb2826d258b3a3760eed195f97aabe
  Author: Kristóf Umann <dkszelethus at gmail.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
    A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h

  Log Message:
  -----------
  [analyzer][NFC] Factor out NoOwnershipChangeVisitor (#94357)

In preparation for adding essentially the same visitor to StreamChecker,
this patch factors this visitor out to a common header.

I'll be the first to admit that the interface of these classes are not
terrific, but it rather tightly held back by its main technical debt,
which is NoStoreFuncVisitor, the main descendant of
NoStateChangeVisitor.

Change-Id: I99d73ccd93a18dd145bbbc83afadbb432dd42b90



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