clang  19.0.0git
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`.
27 
28 } // namespace dataflow
29 } // namespace clang
30 
31 #endif // LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_DATAFLOWLATTICE_H
LatticeEffect
Effect indicating whether a lattice operation resulted in a new value.
The JSON file list parser is used to communicate input to InstallAPI.