llvm-project/clang/unittests/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 multi-variable constant propagation example. 2022-01-04 14:28:23 +00:00
MapLatticeTest.cpp [clang][dataflow] Add parameterized map lattice. 2022-01-04 14:27:15 +00:00
MultiVarConstantPropagationTest.cpp [clang][dataflow] Remove TestingSupport's dependency on gtest 2022-01-17 15:33:23 +00:00
NoopAnalysis.h [clang][dataflow] Allow clients to disable built-in transfer functions. 2022-01-26 17:24:59 +00:00
SingleVarConstantPropagationTest.cpp [clang][dataflow] Remove TestingSupport's dependency on gtest 2022-01-17 15:33:23 +00:00
TestingSupport.cpp [clang][dataflow] Enable merging distinct values in Environment::join 2022-01-26 11:40:51 +00:00
TestingSupport.h [clang][dataflow] Enable comparison of distinct values in Environment 2022-02-01 15:25:59 +00:00
TestingSupportTest.cpp [clang][dataflow] Allow clients to disable built-in transfer functions. 2022-01-26 17:24:59 +00:00
TransferTest.cpp [clang][dataflow] Allow clients to disable built-in transfer functions. 2022-01-26 17:24:59 +00:00
TypeErasedDataflowAnalysisTest.cpp [clang][dataflow] Enable comparison of distinct values in Environment 2022-02-01 15:25:59 +00:00