import("//third-party/unittest/unittest.gni")
unittest("ToolingTests") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
include_dirs = [ "." ]
deps = [
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
"//clang/lib/Format",
"//clang/lib/Frontend",
"//clang/lib/Lex",
"//clang/lib/Rewrite",
"//clang/lib/Testing",
"//clang/lib/Tooling",
"//clang/lib/Tooling/Core",
"//clang/lib/Tooling/DependencyScanning",
"//clang/lib/Tooling/Inclusions",
"//clang/lib/Tooling/Inclusions/Stdlib",
"//clang/lib/Tooling/Refactoring",
"//clang/lib/Tooling/Transformer",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
"//llvm/lib/TargetParser",
"//llvm/lib/Testing/Annotations",
"//llvm/lib/Testing/Support",
]
sources = [
"ASTSelectionTest.cpp",
"CastExprTest.cpp",
"CommentHandlerTest.cpp",
"CompilationDatabaseTest.cpp",
"DependencyScanning/DependencyScannerTest.cpp",
"DependencyScanning/DependencyScanningFilesystemTest.cpp",
"DiagnosticsYamlTest.cpp",
"ExecutionTest.cpp",
"FixItTest.cpp",
"HeaderAnalysisTest.cpp",
"HeaderIncludesTest.cpp",
"LexicallyOrderedRecursiveASTVisitorTest.cpp",
"LookupTest.cpp",
"QualTypeNamesTest.cpp",
"RangeSelectorTest.cpp",
"RecursiveASTVisitorTestDeclVisitor.cpp",
"RecursiveASTVisitorTestPostOrderVisitor.cpp",
"RecursiveASTVisitorTestTypeLocVisitor.cpp",
"RecursiveASTVisitorTests/Attr.cpp",
"RecursiveASTVisitorTests/BitfieldInitializer.cpp",
"RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp",
"RecursiveASTVisitorTests/CXXMemberCall.cpp",
"RecursiveASTVisitorTests/CXXMethodDecl.cpp",
"RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp",
"RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp",
"RecursiveASTVisitorTests/CallbacksCallExpr.cpp",
"RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp",
"RecursiveASTVisitorTests/CallbacksLeaf.cpp",
"RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp",
"RecursiveASTVisitorTests/Class.cpp",
"RecursiveASTVisitorTests/Concept.cpp",
"RecursiveASTVisitorTests/ConstructExpr.cpp",
"RecursiveASTVisitorTests/DeclRefExpr.cpp",
"RecursiveASTVisitorTests/DeductionGuide.cpp",
"RecursiveASTVisitorTests/ImplicitCtor.cpp",
"RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp",
"RecursiveASTVisitorTests/InitListExprPostOrder.cpp",
"RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp",
"RecursiveASTVisitorTests/InitListExprPreOrder.cpp",
"RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp",
"RecursiveASTVisitorTests/IntegerLiteral.cpp",
"RecursiveASTVisitorTests/LambdaDefaultCapture.cpp",
"RecursiveASTVisitorTests/LambdaExpr.cpp",
"RecursiveASTVisitorTests/LambdaTemplateParams.cpp",
"RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp",
"RecursiveASTVisitorTests/NestedNameSpecifiers.cpp",
"RecursiveASTVisitorTests/ParenExpr.cpp",
"RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp",
"RecursiveASTVisitorTests/TraversalScope.cpp",
"RefactoringActionRulesTest.cpp",
"RefactoringCallbacksTest.cpp",
"RefactoringTest.cpp",
"ReplacementsYamlTest.cpp",
"RewriterTest.cpp",
"SourceCodeBuildersTest.cpp",
"SourceCodeTest.cpp",
"StandardLibraryTest.cpp",
"StencilTest.cpp",
"ToolingTest.cpp",
"TransformerTest.cpp",
]
}