1set(LLVM_LINK_COMPONENTS
2  FrontendOpenMP
3  Support
4  )
5
6
7add_clang_unittest(ASTTests
8  ASTContextParentMapTest.cpp
9  ASTImporterFixtures.cpp
10  ASTImporterTest.cpp
11  ASTImporterGenericRedeclTest.cpp
12  ASTImporterODRStrategiesTest.cpp
13  ASTImporterVisibilityTest.cpp
14  ASTTraverserTest.cpp
15  ASTTypeTraitsTest.cpp
16  ASTTraverserTest.cpp
17  ASTVectorTest.cpp
18  CommentLexer.cpp
19  CommentParser.cpp
20  CommentTextTest.cpp
21  DataCollectionTest.cpp
22  DeclPrinterTest.cpp
23  DeclTest.cpp
24  EvaluateAsRValueTest.cpp
25  ExternalASTSourceTest.cpp
26  NamedDeclPrinterTest.cpp
27  RecursiveASTVisitorTest.cpp
28  SizelessTypesTest.cpp
29  SourceLocationTest.cpp
30  StmtPrinterTest.cpp
31  StructuralEquivalenceTest.cpp
32  )
33
34clang_target_link_libraries(ASTTests
35  PRIVATE
36  clangAST
37  clangASTMatchers
38  clangBasic
39  clangFrontend
40  clangSerialization
41  clangTesting
42  clangTooling
43  )
44
45target_link_libraries(ASTTests
46  PRIVATE
47  LLVMTestingSupport
48)
49