[all-commits] [llvm/llvm-project] e59e9f: [clang][ssaf] Add FormatInfo sub-registry and test...

Balázs Benics via All-commits all-commits at lists.llvm.org
Thu Feb 5 08:37:44 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e59e9fcd38a920516611fdd54fe656fca8406971
      https://github.com/llvm/llvm-project/commit/e59e9fcd38a920516611fdd54fe656fca8406971
  Author: Balázs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/include/clang/Analysis/Scalable/Serialization/SerializationFormat.h
    M clang/include/clang/Analysis/Scalable/Serialization/SerializationFormatRegistry.h
    M clang/lib/Analysis/Scalable/Serialization/SerializationFormat.cpp
    M clang/unittests/Analysis/Scalable/CMakeLists.txt
    A clang/unittests/Analysis/Scalable/Registries/FancyAnalysisData.cpp
    M clang/unittests/Analysis/Scalable/Registries/MockSerializationFormat.cpp
    M clang/unittests/Analysis/Scalable/Registries/MockSerializationFormat.h
    M clang/unittests/Analysis/Scalable/Registries/SerializationFormatRegistryTest.cpp

  Log Message:
  -----------
  [clang][ssaf] Add FormatInfo sub-registry and tests [2/2] (#179517)

Add `FormatInfoEntry` template to support per-analysis-type
serialization within a `SerializationFormat`.
This allows to implement different formats for the different analyses in
a decoupled way.

For testing, this patch also implements the MockSerializationFormat
demonstrating the FormatInfo sub-registry pattern.

Assisted-by: claude
Depends on #179516
rdar://169192127



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