[clang] [llvm] [clang][ssaf] Add the TUSummaryExtractorRegistry (PR #173290)

Tomohiro Kashiwada via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 19 02:23:10 PST 2026


================
@@ -0,0 +1,32 @@
+//===- ExtractorRegistry.cpp ----------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/Analysis/Scalable/TUSummary/ExtractorRegistry.h"
+#include <memory>
+
+using namespace clang;
+using namespace ssaf;
+
+LLVM_INSTANTIATE_REGISTRY(TUSummaryExtractorRegistry)
----------------
kikairoya wrote:

This actually defines `Registry<clang::ssaf::TUSummaryExtractor>`, but should be `Registry<clang::ssaf::TUSummaryExtractor, clang::ssaf::TUSummaryBuilder &>`.

https://github.com/llvm/llvm-project/pull/173290


More information about the cfe-commits mailing list