1set(LLVM_LINK_COMPONENTS 2 FrontendOpenMP 3 Support 4 TargetParser 5 ) 6 7 8add_subdirectory(ByteCode) 9 10add_clang_unittest(ASTTests 11 ASTContextParentMapTest.cpp 12 ASTDumperTest.cpp 13 ASTExprTest.cpp 14 ASTImporterFixtures.cpp 15 ASTImporterTest.cpp 16 ASTImporterObjCTest.cpp 17 ASTImporterGenericRedeclTest.cpp 18 ASTImporterODRStrategiesTest.cpp 19 ASTImporterVisibilityTest.cpp 20 ASTTraverserTest.cpp 21 ASTTypeTraitsTest.cpp 22 ASTVectorTest.cpp 23 AttrTest.cpp 24 CommentLexer.cpp 25 CommentParser.cpp 26 CommentTextTest.cpp 27 ConceptPrinterTest.cpp 28 DataCollectionTest.cpp 29 DeclBaseTest.cpp 30 DeclPrinterTest.cpp 31 DeclTest.cpp 32 EvaluateAsRValueTest.cpp 33 ExternalASTSourceTest.cpp 34 NamedDeclPrinterTest.cpp 35 ProfilingTest.cpp 36 RandstructTest.cpp 37 RawCommentForDeclTest.cpp 38 RecursiveASTVisitorTest.cpp 39 SizelessTypesTest.cpp 40 SourceLocationTest.cpp 41 StmtPrinterTest.cpp 42 StructuralEquivalenceTest.cpp 43 TemplateNameTest.cpp 44 TypePrinterTest.cpp 45 UnresolvedSetTest.cpp 46 ) 47 48clang_target_link_libraries(ASTTests 49 PRIVATE 50 clangAST 51 clangASTMatchers 52 clangBasic 53 clangFrontend 54 clangLex 55 clangSerialization 56 clangTooling 57 ) 58 59target_link_libraries(ASTTests 60 PRIVATE 61 clangTesting 62 LLVMTestingAnnotations 63 LLVMTestingSupport 64) 65