[all-commits] [llvm/llvm-project] 0d481b: [clang][ssaf] Add the TUSummaryExtractorRegistry (...
Balázs Benics via All-commits
all-commits at lists.llvm.org
Sat Jan 17 01:23:46 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d481bf0b9523b5089d70b561dafa5e80615178f
https://github.com/llvm/llvm-project/commit/0d481bf0b9523b5089d70b561dafa5e80615178f
Author: Balázs Benics <benicsbalazs at gmail.com>
Date: 2026-01-17 (Sat, 17 Jan 2026)
Changed paths:
A clang/include/clang/Analysis/Scalable/TUSummary/ExtractorRegistry.h
A clang/include/clang/Analysis/Scalable/TUSummary/TUSummaryBuilder.h
A clang/include/clang/Analysis/Scalable/TUSummary/TUSummaryExtractor.h
M clang/lib/Analysis/Scalable/CMakeLists.txt
A clang/lib/Analysis/Scalable/TUSummary/ExtractorRegistry.cpp
M clang/unittests/Analysis/Scalable/CMakeLists.txt
A clang/unittests/Analysis/Scalable/Registries/MockSummaryExtractor1.cpp
A clang/unittests/Analysis/Scalable/Registries/MockSummaryExtractor2.cpp
A clang/unittests/Analysis/Scalable/Registries/MockTUSummaryBuilder.h
A clang/unittests/Analysis/Scalable/Registries/SummaryExtractorRegistryTest.cpp
M llvm/include/llvm/Support/Registry.h
Log Message:
-----------
[clang][ssaf] Add the TUSummaryExtractorRegistry (#173290)
This patch adds the TUSummaryExtractorRegistry for plugging in custom
summary extractors.
This also adds a fake TUSummaryBuilder to observe the side effects of
inserting into the registry.
The original TUSummaryBuilder class will be used to create EntityIDs and
to map those to summary "facts" in the shape of "TUSummaryData" objects,
but that part is not yet upstreamed.
The important point is that TUSummaryBuilders have a use beyond just testing.
---------
Co-authored-by: Jan Korous <jkorous at apple.com>
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