Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / StaticAnalyzer / CMakeLists.txt
blob775f0f8486b8f9f78fa87fe8c852f75234a1ecbb
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
6 add_clang_unittest(StaticAnalysisTests
7   AnalyzerOptionsTest.cpp
8   APSIntTypeTest.cpp
9   BugReportInterestingnessTest.cpp
10   CallDescriptionTest.cpp
11   CallEventTest.cpp
12   ConflictingEvalCallsTest.cpp
13   FalsePositiveRefutationBRVisitorTest.cpp
14   NoStateChangeFuncVisitorTest.cpp
15   ParamRegionTest.cpp
16   RangeSetTest.cpp
17   RegisterCustomCheckersTest.cpp
18   StoreTest.cpp
19   SymbolReaperTest.cpp
20   SValTest.cpp
21   TestReturnValueUnderConstruction.cpp
22   )
24 clang_target_link_libraries(StaticAnalysisTests
25   PRIVATE
26   clangBasic
27   clangAnalysis
28   clangAST
29   clangASTMatchers
30   clangCrossTU
31   clangFrontend
32   clangSerialization
33   clangStaticAnalyzerCore
34   clangStaticAnalyzerFrontend
35   clangTooling
36   )
38 target_link_libraries(StaticAnalysisTests
39   PRIVATE
40   clangTesting
41   )