1 | set(LLVM_LINK_COMPONENTS |
2 | ${LLVM_TARGETS_TO_BUILD} |
3 | Support |
4 | ) |
5 | |
6 | # By default MSVC has a 2^16 limit on the number of sections in an object file, |
7 | # and this needs more than that. |
8 | if (MSVC) |
9 | set_source_files_properties(RecursiveASTVisitorTest.cpp PROPERTIES COMPILE_FLAGS /bigobj) |
10 | set_source_files_properties(RecursiveASTVisitorTestExprVisitor.cpp PROPERTIES COMPILE_FLAGS /bigobj) |
11 | endif() |
12 | |
13 | add_clang_unittest(ToolingTests |
14 | ASTSelectionTest.cpp |
15 | CastExprTest.cpp |
16 | CommentHandlerTest.cpp |
17 | CompilationDatabaseTest.cpp |
18 | DiagnosticsYamlTest.cpp |
19 | ExecutionTest.cpp |
20 | FixItTest.cpp |
21 | HeaderIncludesTest.cpp |
22 | LexicallyOrderedRecursiveASTVisitorTest.cpp |
23 | LookupTest.cpp |
24 | QualTypeNamesTest.cpp |
25 | RecursiveASTVisitorTests/Attr.cpp |
26 | RecursiveASTVisitorTests/Class.cpp |
27 | RecursiveASTVisitorTests/ConstructExpr.cpp |
28 | RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp |
29 | RecursiveASTVisitorTests/CXXMemberCall.cpp |
30 | RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp |
31 | RecursiveASTVisitorTests/DeclRefExpr.cpp |
32 | RecursiveASTVisitorTests/ImplicitCtor.cpp |
33 | RecursiveASTVisitorTests/InitListExprPostOrder.cpp |
34 | RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp |
35 | RecursiveASTVisitorTests/InitListExprPreOrder.cpp |
36 | RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp |
37 | RecursiveASTVisitorTests/IntegerLiteral.cpp |
38 | RecursiveASTVisitorTests/LambdaDefaultCapture.cpp |
39 | RecursiveASTVisitorTests/LambdaExpr.cpp |
40 | RecursiveASTVisitorTests/NestedNameSpecifiers.cpp |
41 | RecursiveASTVisitorTests/ParenExpr.cpp |
42 | RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp |
43 | RecursiveASTVisitorTests/TraversalScope.cpp |
44 | RecursiveASTVisitorTestDeclVisitor.cpp |
45 | RecursiveASTVisitorTestPostOrderVisitor.cpp |
46 | RecursiveASTVisitorTestTypeLocVisitor.cpp |
47 | RefactoringActionRulesTest.cpp |
48 | RefactoringCallbacksTest.cpp |
49 | RefactoringTest.cpp |
50 | ReplacementsYamlTest.cpp |
51 | RewriterTest.cpp |
52 | ToolingTest.cpp |
53 | ) |
54 | |
55 | target_link_libraries(ToolingTests |
56 | PRIVATE |
57 | clangAST |
58 | clangASTMatchers |
59 | clangBasic |
60 | clangFormat |
61 | clangFrontend |
62 | clangLex |
63 | clangRewrite |
64 | clangSerialization |
65 | clangTooling |
66 | clangToolingCore |
67 | clangToolingInclusions |
68 | clangToolingRefactor |
69 | ) |
70 | |