BUILD.gn 2.04 KB
import("//clang/utils/TableGen/clang_tablegen.gni")

clang_tablegen("OpenCLBuiltins") {
  args = [ "-gen-clang-opencl-builtins" ]
}

static_library("Sema") {
  output_name = "clangSema"
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [
    ":OpenCLBuiltins",
    "//clang/include/clang/Basic:arm_mve_builtin_aliases",
    "//clang/include/clang/Basic:arm_mve_builtin_sema",
    "//clang/include/clang/Sema:AttrParsedAttrImpl",
    "//clang/include/clang/Sema:AttrParsedAttrKinds",
    "//clang/include/clang/Sema:AttrParsedAttrList",
    "//clang/include/clang/Sema:AttrSpellingListIndex",
    "//clang/include/clang/Sema:AttrTemplateInstantiate",
    "//clang/lib/AST",
    "//clang/lib/Analysis",
    "//clang/lib/Basic",
    "//clang/lib/Edit",
    "//clang/lib/Lex",
    "//llvm/lib/Frontend/OpenMP",
    "//llvm/lib/Support",
  ]
  sources = [
    "AnalysisBasedWarnings.cpp",
    "CodeCompleteConsumer.cpp",
    "DeclSpec.cpp",
    "DelayedDiagnostic.cpp",
    "IdentifierResolver.cpp",
    "JumpDiagnostics.cpp",
    "MultiplexExternalSemaSource.cpp",
    "ParsedAttr.cpp",
    "Scope.cpp",
    "ScopeInfo.cpp",
    "Sema.cpp",
    "SemaAccess.cpp",
    "SemaAttr.cpp",
    "SemaCUDA.cpp",
    "SemaCXXScopeSpec.cpp",
    "SemaCast.cpp",
    "SemaChecking.cpp",
    "SemaCodeComplete.cpp",
    "SemaConcept.cpp",
    "SemaConsumer.cpp",
    "SemaCoroutine.cpp",
    "SemaDecl.cpp",
    "SemaDeclAttr.cpp",
    "SemaDeclCXX.cpp",
    "SemaDeclObjC.cpp",
    "SemaExceptionSpec.cpp",
    "SemaExpr.cpp",
    "SemaExprCXX.cpp",
    "SemaExprMember.cpp",
    "SemaExprObjC.cpp",
    "SemaFixItUtils.cpp",
    "SemaInit.cpp",
    "SemaLambda.cpp",
    "SemaLookup.cpp",
    "SemaModule.cpp",
    "SemaObjCProperty.cpp",
    "SemaOpenMP.cpp",
    "SemaOverload.cpp",
    "SemaPseudoObject.cpp",
    "SemaStmt.cpp",
    "SemaStmtAsm.cpp",
    "SemaStmtAttr.cpp",
    "SemaTemplate.cpp",
    "SemaTemplateDeduction.cpp",
    "SemaTemplateInstantiate.cpp",
    "SemaTemplateInstantiateDecl.cpp",
    "SemaTemplateVariadic.cpp",
    "SemaType.cpp",
    "TypeLocBuilder.cpp",
  ]
}