clang 23.0.0git
AnalysisResult.h
Go to the documentation of this file.
1//===- AnalysisResult.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// Base class for all whole-program analysis results produced by AnalysisDriver.
10// Concrete subclasses carry a static analysisName().
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_WHOLEPROGRAMANALYSIS_ANALYSISRESULT_H
15#define LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_WHOLEPROGRAMANALYSIS_ANALYSISRESULT_H
16
17namespace clang::ssaf {
18
19/// Base class for whole-program analysis results.
20///
21/// Concrete subclasses must provide:
22/// static AnalysisName analysisName();
24public:
25 virtual ~AnalysisResult() = default;
26};
27
28} // namespace clang::ssaf
29
30#endif // LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_CORE_WHOLEPROGRAMANALYSIS_ANALYSISRESULT_H
Base class for whole-program analysis results.
virtual ~AnalysisResult()=default