[all-commits] [llvm/llvm-project] 3dc159: [analyzer] Clean up slightly the messed up ownersh...

Balazs Benics via All-commits all-commits at lists.llvm.org
Mon Feb 24 02:34:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dc159431be7a8c5f1a26a8bd57794f1c7008969
      https://github.com/llvm/llvm-project/commit/3dc159431be7a8c5f1a26a8bd57794f1c7008969
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M clang/include/clang/Analysis/AnalysisDeclContext.h
    M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
    M clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
    M clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
    M clang/lib/Analysis/AnalysisDeclContext.cpp
    M clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
    M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
    M clang/unittests/StaticAnalyzer/BugReportInterestingnessTest.cpp
    M clang/unittests/StaticAnalyzer/CheckerRegistration.h
    M clang/unittests/StaticAnalyzer/Reusables.h

  Log Message:
  -----------
  [analyzer] Clean up slightly the messed up ownership model of the analyzer (#128368)

Well, yes. It's not pretty.
At least after this we would have a bit more unique pointers than
before.

This is for fixing the memory leak diagnosed by:
https://lab.llvm.org/buildbot/#/builders/24/builds/5580

And that caused the revert of #127409.

After these uptrs that patch can re-land finally.



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