llvm-project/clang/unittests/Analysis
Stanislav Gatev af98b0af67 [clang][dataflow] Add analysis that detects unsafe accesses to optionals
This commit reverts e0cc28dfdc and moves
UncheckedOptionalAccessModelTest.cpp into clang/unittests/Analysis/FlowSensitive,
to avoid build failures. The test will be moved back into a Models subdir
in a follow up patch that will address the build configuration issues.

Original description:

Adds a dataflow analysis that detects unsafe accesses to values of type
`std::optional`, `absl::optional`, or `base::Optional`.

Reviewed-by: ymandel, xazax.hun

Differential Revision: https://reviews.llvm.org/D121197
2022-03-10 11:05:31 +00:00
..
FlowSensitive [clang][dataflow] Add analysis that detects unsafe accesses to optionals 2022-03-10 11:05:31 +00:00
CFGBuildResult.h
CFGDominatorTree.cpp [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
CFGTest.cpp
CMakeLists.txt [clang][dataflow] Implement a basic algorithm for dataflow analysis 2021-12-10 11:44:49 +01:00
CloneDetectionTest.cpp
ExprMutationAnalyzerTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
MacroExpansionContextTest.cpp [NFC][testing] Return underlying strings directly instead of OS.str() 2021-12-09 16:05:46 -08:00