[libc++][Android] BuildKite CI: update Clang and sysroot versions (#116151)
[llvm-project.git] / clang / unittests / Tooling / CMakeLists.txt
blob401978c31863cb7eef83cf67a317543190cab933
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   MC
4   Option
5   FrontendOpenMP
6   Support
7   TargetParser
8   )
11 add_clang_unittest(ToolingTests
12   ASTSelectionTest.cpp
13   CastExprTest.cpp
14   CommentHandlerTest.cpp
15   CompilationDatabaseTest.cpp
16   DiagnosticsYamlTest.cpp
17   ExecutionTest.cpp
18   FixItTest.cpp
19   HeaderAnalysisTest.cpp
20   HeaderIncludesTest.cpp
21   StandardLibraryTest.cpp
22   LexicallyOrderedRecursiveASTVisitorTest.cpp
23   LookupTest.cpp
24   QualTypeNamesTest.cpp
25   RangeSelectorTest.cpp
26   DependencyScanning/DependencyScannerTest.cpp
27   DependencyScanning/DependencyScanningFilesystemTest.cpp
28   RecursiveASTVisitorTests/Attr.cpp
29   RecursiveASTVisitorTests/BitfieldInitializer.cpp
30   RecursiveASTVisitorTests/CallbacksLeaf.cpp
31   RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp
32   RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp
33   RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp
34   RecursiveASTVisitorTests/CallbacksCallExpr.cpp
35   RecursiveASTVisitorTests/Class.cpp
36   RecursiveASTVisitorTests/Concept.cpp
37   RecursiveASTVisitorTests/ConstructExpr.cpp
38   RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp
39   RecursiveASTVisitorTests/CXXMemberCall.cpp
40   RecursiveASTVisitorTests/CXXMethodDecl.cpp
41   RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp
42   RecursiveASTVisitorTests/DeclRefExpr.cpp
43   RecursiveASTVisitorTests/DeductionGuide.cpp
44   RecursiveASTVisitorTests/ImplicitCtor.cpp
45   RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp
46   RecursiveASTVisitorTests/InitListExprPostOrder.cpp
47   RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp
48   RecursiveASTVisitorTests/InitListExprPreOrder.cpp
49   RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp
50   RecursiveASTVisitorTests/IntegerLiteral.cpp
51   RecursiveASTVisitorTests/LambdaDefaultCapture.cpp
52   RecursiveASTVisitorTests/LambdaExpr.cpp
53   RecursiveASTVisitorTests/LambdaTemplateParams.cpp
54   RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp
55   RecursiveASTVisitorTests/NestedNameSpecifiers.cpp
56   RecursiveASTVisitorTests/ParenExpr.cpp
57   RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
58   RecursiveASTVisitorTests/TraversalScope.cpp
59   RecursiveASTVisitorTestDeclVisitor.cpp
60   RecursiveASTVisitorTestPostOrderVisitor.cpp
61   RecursiveASTVisitorTestTypeLocVisitor.cpp
62   RefactoringActionRulesTest.cpp
63   RefactoringCallbacksTest.cpp
64   RefactoringTest.cpp
65   ReplacementsYamlTest.cpp
66   RewriterTest.cpp
67   SourceCodeBuildersTest.cpp
68   SourceCodeTest.cpp
69   StencilTest.cpp
70   ToolingTest.cpp
71   TransformerTest.cpp
72   )
74 clang_target_link_libraries(ToolingTests
75   PRIVATE
76   clangAST
77   clangASTMatchers
78   clangBasic
79   clangDependencyScanning
80   clangDriver
81   clangFormat
82   clangFrontend
83   clangLex
84   clangRewrite
85   clangSerialization
86   clangTooling
87   clangToolingCore
88   clangToolingInclusions
89   clangToolingInclusionsStdlib
90   clangToolingRefactoring
91   clangTransformer
92   )
94 target_link_libraries(ToolingTests
95   PRIVATE
96   LLVMTestingAnnotations
97   LLVMTestingSupport
98   clangTesting
101 add_subdirectory(Syntax)