llvm-project/clang/lib/Analysis/FlowSensitive
Stanislav Gatev 6b8800dfb5 [clang][dataflow] Enable comparison of distinct values in Environment
Make specializations of `DataflowAnalysis` extendable with domain-specific
logic for comparing distinct values when comparing environments.

This includes a breaking change to the `runDataflowAnalysis` interface
as the return type is now `llvm::Expected<...>`.

This is part of the implementation of the dataflow analysis framework.
See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev.

Reviewed-by: ymandel, xazax.hun

Differential Revision: https://reviews.llvm.org/D118596
2022-02-01 15:25:59 +00:00
..
CMakeLists.txt [clang][dataflow] Add transfer function for VarDecl statements 2022-01-04 09:16:01 +00:00
ControlFlowContext.cpp [clang][dataflow] Add transfer functions for initializers 2022-01-12 21:51:39 +00:00
DataflowEnvironment.cpp [clang][dataflow] Enable comparison of distinct values in Environment 2022-02-01 15:25:59 +00:00
Transfer.cpp [clang][dataflow] Add a transfer function for CXXBoolLiteralExpr 2022-01-26 15:33:00 +00:00
TypeErasedDataflowAnalysis.cpp [clang][dataflow] Enable comparison of distinct values in Environment 2022-02-01 15:25:59 +00:00