[APINotes] Avoid duplicated attributes for class template instantiations
[llvm-project.git] / llvm / utils / gn / secondary / clang-tools-extra / clangd / unittests / BUILD.gn
blobc79d5ad662b7fea18e342c6debc0563f36680a58
1 import("//clang-tools-extra/clangd/quality/gen_decision_forest.gni")
2 import("//third-party/unittest/unittest.gni")
4 gen_decision_forest("DecisionForestRuntimeTest") {
5   model = "decision_forest_model"
6   filename = "DecisionForestRuntimeTest"
7   cpp_class = "::ns1::ns2::test::Example"
10 unittest("ClangdTests") {
11   configs += [ "//llvm/utils/gn/build:clang_code" ]
12   deps = [
13     ":DecisionForestRuntimeTest",
14     "//clang-tools-extra/clang-tidy",
15     "//clang-tools-extra/clangd",
16     "//clang-tools-extra/clangd:features",
17     "//clang-tools-extra/clangd/refactor/tweaks",
18     "//clang/lib/AST",
19     "//clang/lib/Basic",
20     "//clang/lib/Format",
21     "//clang/lib/Frontend",
22     "//clang/lib/Index",
23     "//clang/lib/Lex",
24     "//clang/lib/Sema",
25     "//clang/lib/Serialization",
26     "//clang/lib/Testing",
27     "//clang/lib/Tooling",
28     "//clang/lib/Tooling/Core",
29     "//clang/lib/Tooling/Inclusions",
30     "//clang/lib/Tooling/Syntax",
31     "//llvm/include/llvm/Config:llvm-config",
32     "//llvm/lib/Support",
33     "//llvm/lib/Testing/Annotations",
34     "//llvm/lib/Testing/Support",
35   ]
36   include_dirs = [
37     ".",
38     "//clang-tools-extra/clangd",
40     # For "clang-include-cleaner/..." includes.
41     "//clang-tools-extra/include-cleaner/include",
43     # To pick up the generated inc files.
44     "$target_gen_dir/../../clangd/tool",
46     # To pick up the generated DecisionForestRuntimeTest.h file.
47     target_gen_dir,
48   ]
49   sources = [
50     "ASTSignalsTests.cpp",
51     "ASTTests.cpp",
52     "Annotations.cpp",
53     "BackgroundIndexTests.cpp",
54     "CallHierarchyTests.cpp",
55     "CanonicalIncludesTests.cpp",
56     "ClangdLSPServerTests.cpp",
57     "ClangdTests.cpp",
58     "CodeCompleteTests.cpp",
59     "CodeCompletionStringsTests.cpp",
60     "CollectMacrosTests.cpp",
61     "CompileCommandsTests.cpp",
62     "CompilerTests.cpp",
63     "ConfigCompileTests.cpp",
64     "ConfigProviderTests.cpp",
65     "ConfigYAMLTests.cpp",
66     "DecisionForestTests.cpp",
67     "DexTests.cpp",
68     "DiagnosticsTests.cpp",
69     "DraftStoreTests.cpp",
70     "DumpASTTests.cpp",
71     "ExpectedTypeTest.cpp",
72     "FSTests.cpp",
73     "FeatureModulesTests.cpp",
74     "FileDistanceTests.cpp",
75     "FileIndexTests.cpp",
76     "FindSymbolsTests.cpp",
77     "FindTargetTests.cpp",
78     "FormatTests.cpp",
79     "FuzzyMatchTests.cpp",
80     "GlobalCompilationDatabaseTests.cpp",
81     "HeaderSourceSwitchTests.cpp",
82     "HeadersTests.cpp",
83     "HeuristicResolverTests.cpp",
84     "HoverTests.cpp",
85     "IncludeCleanerTests.cpp",
86     "IndexActionTests.cpp",
87     "IndexTests.cpp",
88     "InlayHintTests.cpp",
89     "InsertionPointTests.cpp",
90     "JSONTransportTests.cpp",
91     "LSPBinderTests.cpp",
92     "LSPClient.cpp",
93     "LoggerTests.cpp",
94     "ModulesTests.cpp",
95     "ParsedASTTests.cpp",
96     "PathMappingTests.cpp",
97     "PreambleTests.cpp",
98     "PrerequisiteModulesTest.cpp",
99     "PrintASTTests.cpp",
100     "ProjectAwareIndexTests.cpp",
101     "QualityTests.cpp",
102     "RIFFTests.cpp",
103     "RenameTests.cpp",
104     "ReplayPeambleTests.cpp",
105     "SelectionTests.cpp",
106     "SemanticHighlightingTests.cpp",
107     "SemanticSelectionTests.cpp",
108     "SerializationTests.cpp",
109     "SourceCodeTests.cpp",
110     "StdLibTests.cpp",
111     "SymbolCollectorTests.cpp",
112     "SymbolInfoTests.cpp",
113     "SyncAPI.cpp",
114     "TUSchedulerTests.cpp",
115     "TestFS.cpp",
116     "TestIndex.cpp",
117     "TestTU.cpp",
118     "TestWorkspace.cpp",
119     "ThreadCrashReporterTests.cpp",
120     "TidyProviderTests.cpp",
121     "TypeHierarchyTests.cpp",
122     "URITests.cpp",
123     "XRefsTests.cpp",
124     "support/CancellationTests.cpp",
125     "support/ContextTests.cpp",
126     "support/FileCacheTests.cpp",
127     "support/FunctionTests.cpp",
128     "support/MarkupTests.cpp",
129     "support/MemoryTreeTests.cpp",
130     "support/PathTests.cpp",
131     "support/TestTracer.cpp",
132     "support/ThreadingTests.cpp",
133     "support/TraceTests.cpp",
134     "tweaks/AddUsingTests.cpp",
135     "tweaks/AnnotateHighlightingsTests.cpp",
136     "tweaks/DefineInlineTests.cpp",
137     "tweaks/DefineOutlineTests.cpp",
138     "tweaks/DumpASTTests.cpp",
139     "tweaks/DumpRecordLayoutTests.cpp",
140     "tweaks/DumpSymbolTests.cpp",
141     "tweaks/ExpandDeducedTypeTests.cpp",
142     "tweaks/ExpandMacroTests.cpp",
143     "tweaks/ExtractFunctionTests.cpp",
144     "tweaks/ExtractVariableTests.cpp",
145     "tweaks/MemberwiseConstructorTests.cpp",
146     "tweaks/ObjCLocalizeStringLiteralTests.cpp",
147     "tweaks/ObjCMemberwiseInitializerTests.cpp",
148     "tweaks/PopulateSwitchTests.cpp",
149     "tweaks/RawStringLiteralTests.cpp",
150     "tweaks/RemoveUsingNamespaceTests.cpp",
151     "tweaks/ScopifyEnumTests.cpp",
152     "tweaks/ShowSelectionTreeTests.cpp",
153     "tweaks/SpecialMembersTests.cpp",
154     "tweaks/SwapBinaryOperandsTests.cpp",
155     "tweaks/SwapIfBranchesTests.cpp",
156     "tweaks/TweakTesting.cpp",
157     "tweaks/TweakTests.cpp",
158   ]