set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_unittest(ClangAnalysisFlowSensitiveTests
ArenaTest.cpp
ASTOpsTest.cpp
CFGMatchSwitchTest.cpp
ChromiumCheckModelTest.cpp
DataflowAnalysisContextTest.cpp
DataflowEnvironmentTest.cpp
DebugSupportTest.cpp
DeterminismTest.cpp
LoggerTest.cpp
MapLatticeTest.cpp
MatchSwitchTest.cpp
MultiVarConstantPropagationTest.cpp
RecordOpsTest.cpp
SignAnalysisTest.cpp
SimplifyConstraintsTest.cpp
SingleVarConstantPropagationTest.cpp
TestingSupport.cpp
TestingSupportTest.cpp
TransferBranchTest.cpp
TransferTest.cpp
TypeErasedDataflowAnalysisTest.cpp
UncheckedOptionalAccessModelTest.cpp
ValueTest.cpp
WatchedLiteralsSolverTest.cpp
)
clang_target_link_libraries(ClangAnalysisFlowSensitiveTests
PRIVATE
clangAST
clangASTMatchers
clangAnalysis
clangAnalysisFlowSensitive
clangAnalysisFlowSensitiveModels
clangBasic
clangFrontend
clangLex
clangSerialization
clangTooling
)
target_link_libraries(ClangAnalysisFlowSensitiveTests
PRIVATE
clangTesting
LLVMTestingAnnotations
LLVMTestingSupport
)