clang 23.0.0git
EntitySummary.h
Go to the documentation of this file.
1//===- EntitySummary.h ------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_TUSUMMARY_ENTITYSUMMARY_H
10#define LLVM_CLANG_ANALYSIS_SCALABLE_TUSUMMARY_ENTITYSUMMARY_H
11
13
14namespace clang::ssaf {
15
16/// Base class for analysis-specific summary data.
18private:
19 SummaryName Summary;
20
21protected:
22 EntitySummary(SummaryName Summary) : Summary(std::move(Summary)) {}
23
24public:
25 SummaryName getSummaryName() const { return Summary; }
26
27 virtual ~EntitySummary() = default;
28};
29
30} // namespace clang::ssaf
31
32#endif // LLVM_CLANG_ANALYSIS_SCALABLE_TUSUMMARY_ENTITYSUMMARY_H
virtual ~EntitySummary()=default
SummaryName getSummaryName() const
EntitySummary(SummaryName Summary)
Uniquely identifies an analysis summary.
Definition SummaryName.h:21