summaryrefslogtreecommitdiff
path: root/clang/unittests/StaticAnalyzer/CMakeLists.txt
blob: 775f0f8486b8f9f78fa87fe8c852f75234a1ecbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
set(LLVM_LINK_COMPONENTS
  FrontendOpenMP
  Support
  )

add_clang_unittest(StaticAnalysisTests
  AnalyzerOptionsTest.cpp
  APSIntTypeTest.cpp
  BugReportInterestingnessTest.cpp
  CallDescriptionTest.cpp
  CallEventTest.cpp
  ConflictingEvalCallsTest.cpp
  FalsePositiveRefutationBRVisitorTest.cpp
  NoStateChangeFuncVisitorTest.cpp
  ParamRegionTest.cpp
  RangeSetTest.cpp
  RegisterCustomCheckersTest.cpp
  StoreTest.cpp
  SymbolReaperTest.cpp
  SValTest.cpp
  TestReturnValueUnderConstruction.cpp
  )

clang_target_link_libraries(StaticAnalysisTests
  PRIVATE
  clangBasic
  clangAnalysis
  clangAST
  clangASTMatchers
  clangCrossTU
  clangFrontend
  clangSerialization
  clangStaticAnalyzerCore
  clangStaticAnalyzerFrontend
  clangTooling
  )

target_link_libraries(StaticAnalysisTests
  PRIVATE
  clangTesting
  )