clang
20.0.0git
include
clang
Analysis
FlowSensitive
DataflowLattice.h
Go to the documentation of this file.
1
//===- DataflowLattice.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
// This file defines base types for building lattices to be used in dataflow
10
// analyses that run over Control-Flow Graphs (CFGs).
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_DATAFLOWLATTICE_H
15
#define LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_DATAFLOWLATTICE_H
16
17
namespace
clang
{
18
namespace
dataflow {
19
20
/// Effect indicating whether a lattice operation resulted in a new value.
21
enum class
LatticeEffect
{
22
Unchanged
,
23
Changed
,
24
};
25
// DEPRECATED. Use `LatticeEffect`.
26
using
LatticeJoinEffect
=
LatticeEffect
;
27
28
}
// namespace dataflow
29
}
// namespace clang
30
31
#endif
// LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_DATAFLOWLATTICE_H
clang::dataflow::LatticeEffect
LatticeEffect
Effect indicating whether a lattice operation resulted in a new value.
Definition:
DataflowLattice.h:21
clang::dataflow::LatticeEffect::Unchanged
@ Unchanged
clang::dataflow::LatticeEffect::Changed
@ Changed
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition:
CalledOnceCheck.h:17
Generated on Fri Nov 22 2024 09:46:58 for clang by
1.9.6