xref: /llvm-project/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn (revision 4018317407006b2c632fbb75729de624a2426439)
1import("//clang/utils/TableGen/clang_tablegen.gni")
2
3clang_tablegen("OpenCLBuiltins") {
4  args = [ "-gen-clang-opencl-builtins" ]
5}
6
7static_library("Sema") {
8  output_name = "clangSema"
9  configs += [ "//llvm/utils/gn/build:clang_code" ]
10  deps = [
11    ":OpenCLBuiltins",
12    "//clang/include/clang/Basic:AttrParsedAttrList",
13    "//clang/include/clang/Basic:arm_cde_builtin_aliases",
14    "//clang/include/clang/Basic:arm_cde_builtin_sema",
15    "//clang/include/clang/Basic:arm_mve_builtin_aliases",
16    "//clang/include/clang/Basic:arm_mve_builtin_sema",
17    "//clang/include/clang/Basic:arm_sme_builtins_za_state",
18    "//clang/include/clang/Basic:arm_sme_sema_rangechecks",
19    "//clang/include/clang/Basic:arm_sme_streaming_attrs",
20    "//clang/include/clang/Basic:arm_sve_sema_rangechecks",
21    "//clang/include/clang/Basic:arm_sve_streaming_attrs",
22    "//clang/include/clang/Basic:riscv_sifive_vector_builtin_sema",
23    "//clang/include/clang/Basic:riscv_vector_builtin_sema",
24    "//clang/include/clang/Sema:AttrParsedAttrImpl",
25    "//clang/include/clang/Sema:AttrParsedAttrKinds",
26    "//clang/include/clang/Sema:AttrSpellingListIndex",
27    "//clang/include/clang/Sema:AttrTemplateInstantiate",
28    "//clang/lib/APINotes",
29    "//clang/lib/AST",
30    "//clang/lib/Analysis",
31    "//clang/lib/Basic",
32    "//clang/lib/Edit",
33    "//clang/lib/Lex",
34    "//clang/lib/Support",
35    "//llvm/lib/Frontend/OpenMP",
36    "//llvm/lib/MC",
37    "//llvm/lib/Support",
38    "//llvm/lib/TargetParser",
39  ]
40  sources = [
41    "AnalysisBasedWarnings.cpp",
42    "CheckExprLifetime.cpp",
43    "CodeCompleteConsumer.cpp",
44    "DeclSpec.cpp",
45    "DelayedDiagnostic.cpp",
46    "HLSLExternalSemaSource.cpp",
47    "HeuristicResolver.cpp",
48    "IdentifierResolver.cpp",
49    "JumpDiagnostics.cpp",
50    "MultiplexExternalSemaSource.cpp",
51    "ParsedAttr.cpp",
52    "Scope.cpp",
53    "ScopeInfo.cpp",
54    "Sema.cpp",
55    "SemaAMDGPU.cpp",
56    "SemaAPINotes.cpp",
57    "SemaARM.cpp",
58    "SemaAVR.cpp",
59    "SemaAccess.cpp",
60    "SemaAttr.cpp",
61    "SemaAvailability.cpp",
62    "SemaBPF.cpp",
63    "SemaBase.cpp",
64    "SemaBoundsSafety.cpp",
65    "SemaCUDA.cpp",
66    "SemaCXXScopeSpec.cpp",
67    "SemaCast.cpp",
68    "SemaChecking.cpp",
69    "SemaCodeComplete.cpp",
70    "SemaConcept.cpp",
71    "SemaConsumer.cpp",
72    "SemaCoroutine.cpp",
73    "SemaDecl.cpp",
74    "SemaDeclAttr.cpp",
75    "SemaDeclCXX.cpp",
76    "SemaDeclObjC.cpp",
77    "SemaExceptionSpec.cpp",
78    "SemaExpr.cpp",
79    "SemaExprCXX.cpp",
80    "SemaExprMember.cpp",
81    "SemaExprObjC.cpp",
82    "SemaFixItUtils.cpp",
83    "SemaFunctionEffects.cpp",
84    "SemaHLSL.cpp",
85    "SemaHexagon.cpp",
86    "SemaInit.cpp",
87    "SemaLambda.cpp",
88    "SemaLookup.cpp",
89    "SemaLoongArch.cpp",
90    "SemaM68k.cpp",
91    "SemaMIPS.cpp",
92    "SemaMSP430.cpp",
93    "SemaModule.cpp",
94    "SemaNVPTX.cpp",
95    "SemaObjC.cpp",
96    "SemaObjCProperty.cpp",
97    "SemaOpenACC.cpp",
98    "SemaOpenACCClause.cpp",
99    "SemaOpenCL.cpp",
100    "SemaOpenMP.cpp",
101    "SemaOverload.cpp",
102    "SemaPPC.cpp",
103    "SemaPseudoObject.cpp",
104    "SemaRISCV.cpp",
105    "SemaSPIRV.cpp",
106    "SemaSYCL.cpp",
107    "SemaStmt.cpp",
108    "SemaStmtAsm.cpp",
109    "SemaStmtAttr.cpp",
110    "SemaSwift.cpp",
111    "SemaSystemZ.cpp",
112    "SemaTemplate.cpp",
113    "SemaTemplateDeduction.cpp",
114    "SemaTemplateDeductionGuide.cpp",
115    "SemaTemplateInstantiate.cpp",
116    "SemaTemplateInstantiateDecl.cpp",
117    "SemaTemplateVariadic.cpp",
118    "SemaType.cpp",
119    "SemaWasm.cpp",
120    "SemaX86.cpp",
121    "TypeLocBuilder.cpp",
122  ]
123}
124