Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / Tooling / CMakeLists.txt
blob5a10a6b285390e93dcad348444727a733294024d
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   DependencyScannerTest.cpp
17   DiagnosticsYamlTest.cpp
18   ExecutionTest.cpp
19   FixItTest.cpp
20   HeaderAnalysisTest.cpp
21   HeaderIncludesTest.cpp
22   StandardLibraryTest.cpp
23   LexicallyOrderedRecursiveASTVisitorTest.cpp
24   LookupTest.cpp
25   QualTypeNamesTest.cpp
26   RangeSelectorTest.cpp
27   RecursiveASTVisitorTests/Attr.cpp
28   RecursiveASTVisitorTests/BitfieldInitializer.cpp
29   RecursiveASTVisitorTests/CallbacksLeaf.cpp
30   RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp
31   RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp
32   RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp
33   RecursiveASTVisitorTests/CallbacksCallExpr.cpp
34   RecursiveASTVisitorTests/Class.cpp
35   RecursiveASTVisitorTests/Concept.cpp
36   RecursiveASTVisitorTests/ConstructExpr.cpp
37   RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp
38   RecursiveASTVisitorTests/CXXMemberCall.cpp
39   RecursiveASTVisitorTests/CXXMethodDecl.cpp
40   RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp
41   RecursiveASTVisitorTests/DeclRefExpr.cpp
42   RecursiveASTVisitorTests/ImplicitCtor.cpp
43   RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp
44   RecursiveASTVisitorTests/InitListExprPostOrder.cpp
45   RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp
46   RecursiveASTVisitorTests/InitListExprPreOrder.cpp
47   RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp
48   RecursiveASTVisitorTests/IntegerLiteral.cpp
49   RecursiveASTVisitorTests/LambdaDefaultCapture.cpp
50   RecursiveASTVisitorTests/LambdaExpr.cpp
51   RecursiveASTVisitorTests/LambdaTemplateParams.cpp
52   RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp
53   RecursiveASTVisitorTests/NestedNameSpecifiers.cpp
54   RecursiveASTVisitorTests/ParenExpr.cpp
55   RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
56   RecursiveASTVisitorTests/TraversalScope.cpp
57   RecursiveASTVisitorTestDeclVisitor.cpp
58   RecursiveASTVisitorTestPostOrderVisitor.cpp
59   RecursiveASTVisitorTestTypeLocVisitor.cpp
60   RefactoringActionRulesTest.cpp
61   RefactoringCallbacksTest.cpp
62   RefactoringTest.cpp
63   ReplacementsYamlTest.cpp
64   RewriterTest.cpp
65   SourceCodeBuildersTest.cpp
66   SourceCodeTest.cpp
67   StencilTest.cpp
68   ToolingTest.cpp
69   TransformerTest.cpp
70   )
72 clang_target_link_libraries(ToolingTests
73   PRIVATE
74   clangAST
75   clangASTMatchers
76   clangBasic
77   clangDependencyScanning
78   clangDriver
79   clangFormat
80   clangFrontend
81   clangLex
82   clangRewrite
83   clangSerialization
84   clangTooling
85   clangToolingCore
86   clangToolingInclusions
87   clangToolingInclusionsStdlib
88   clangToolingRefactoring
89   clangTransformer
90   )
92 target_link_libraries(ToolingTests
93   PRIVATE
94   LLVMTestingAnnotations
95   LLVMTestingSupport
96   clangTesting
99 add_subdirectory(Syntax)