[clang] [SSAF] Add data structures for summary data of a single TU (PR #176504)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 19 02:29:36 PST 2026
================
@@ -0,0 +1,33 @@
+//===- TUSummaryData.h ------------------------------------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_TUSUMMARY_TUSUMMARYDATA_H
+#define LLVM_CLANG_ANALYSIS_SCALABLE_TUSUMMARY_TUSUMMARYDATA_H
+
+#include "clang/Analysis/Scalable/Model/SummaryName.h"
+
+namespace clang::ssaf {
+
+/// Base class for analysis-specific summary data.
+class TUSummaryData {
+private:
+ /// Name of the summary.
----------------
Xazax-hun wrote:
I think this comment is quite redundant given the name and the type of this field.
https://github.com/llvm/llvm-project/pull/176504
More information about the cfe-commits
mailing list