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

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


  Branch: refs/heads/users/steakhal/ssaf-3-add-format-info-registry
  Home:   https://github.com/llvm/llvm-project
  Commit: a324a6056e599a51dedbc9b624c24af3d2beaa54
      https://github.com/llvm/llvm-project/commit/a324a6056e599a51dedbc9b624c24af3d2beaa54
  Author: Balazs 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/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 [3/3]

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


  Commit: b3bae5d4a0fdf0332732552ae7126a930f4226c2
      https://github.com/llvm/llvm-project/commit/b3bae5d4a0fdf0332732552ae7126a930f4226c2
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/unittests/Analysis/Scalable/Registries/FancyAnalysisData.cpp

  Log Message:
  -----------
  Apply suggested simplifications


  Commit: 32cbd40c4e9a01cff357a03dd1dc475385e88065
      https://github.com/llvm/llvm-project/commit/32cbd40c4e9a01cff357a03dd1dc475385e88065
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/unittests/Analysis/Scalable/Registries/SerializationFormatRegistryTest.cpp

  Log Message:
  -----------
  Also simplify the unittest file input


  Commit: dce1688a6d6be460573ee3c428752e5cb3b9b8f8
      https://github.com/llvm/llvm-project/commit/dce1688a6d6be460573ee3c428752e5cb3b9b8f8
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/unittests/Analysis/Scalable/Registries/FancyAnalysisData.cpp

  Log Message:
  -----------
  Remove unused include


  Commit: 00c6bc8477f4ff0eea32af3c46d8665f80445356
      https://github.com/llvm/llvm-project/commit/00c6bc8477f4ff0eea32af3c46d8665f80445356
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/unittests/Analysis/Scalable/Registries/FancyAnalysisData.cpp

  Log Message:
  -----------
  Fix typo in Description string


  Commit: b816eda48892d1acc35a685062dacc1404e5a735
      https://github.com/llvm/llvm-project/commit/b816eda48892d1acc35a685062dacc1404e5a735
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/unittests/Analysis/Scalable/Registries/FancyAnalysisData.cpp

  Log Message:
  -----------
  Move the FormatInfo alias closer to where it matters


  Commit: e302b33faf43b016e1b69243ab1beff647299cc5
      https://github.com/llvm/llvm-project/commit/e302b33faf43b016e1b69243ab1beff647299cc5
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M clang/include/clang/Analysis/Scalable/Serialization/SerializationFormatRegistry.h

  Log Message:
  -----------
  Update the SerializationFormatRegistry with the FormatInfo alias


Compare: https://github.com/llvm/llvm-project/compare/d61e4112db60...e302b33faf43

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