Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / AST / CMakeLists.txt
blob584cfb1bd2f11d0c25eb9fa3791a7339e89510e4
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   TargetParser
5   )
8 add_subdirectory(Interp)
10 add_clang_unittest(ASTTests
11   ASTContextParentMapTest.cpp
12   ASTExprTest.cpp
13   ASTImporterFixtures.cpp
14   ASTImporterTest.cpp
15   ASTImporterObjCTest.cpp
16   ASTImporterGenericRedeclTest.cpp
17   ASTImporterODRStrategiesTest.cpp
18   ASTImporterVisibilityTest.cpp
19   ASTTraverserTest.cpp
20   ASTTypeTraitsTest.cpp
21   ASTVectorTest.cpp
22   AttrTest.cpp
23   CommentLexer.cpp
24   CommentParser.cpp
25   CommentTextTest.cpp
26   DataCollectionTest.cpp
27   DeclPrinterTest.cpp
28   DeclTest.cpp
29   EvaluateAsRValueTest.cpp
30   ExternalASTSourceTest.cpp
31   NamedDeclPrinterTest.cpp
32   RandstructTest.cpp
33   RecursiveASTVisitorTest.cpp
34   SizelessTypesTest.cpp
35   SourceLocationTest.cpp
36   StmtPrinterTest.cpp
37   StructuralEquivalenceTest.cpp
38   TemplateNameTest.cpp
39   TypePrinterTest.cpp
40   UnresolvedSetTest.cpp
41   )
43 clang_target_link_libraries(ASTTests
44   PRIVATE
45   clangAST
46   clangASTMatchers
47   clangBasic
48   clangFrontend
49   clangLex
50   clangSerialization
51   clangTooling
52   )
54 target_link_libraries(ASTTests
55   PRIVATE
56   clangTesting
57   LLVMTestingAnnotations
58   LLVMTestingSupport