set(LLVM_LINK_COMPONENTS FrontendOpenMP Support ) add_clang_unittest(StaticAnalysisTests AnalyzerOptionsTest.cpp CallDescriptionTest.cpp CallEventTest.cpp FalsePositiveRefutationBRVisitorTest.cpp ParamRegionTest.cpp RangeSetTest.cpp RegisterCustomCheckersTest.cpp StoreTest.cpp SymbolReaperTest.cpp TestReturnValueUnderConstruction.cpp ) clang_target_link_libraries(StaticAnalysisTests PRIVATE clangBasic clangAnalysis clangAST clangASTMatchers clangCrossTU clangFrontend clangSerialization clangStaticAnalyzerCore clangStaticAnalyzerFrontend clangTooling )