summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
blob: 9d44ae1aa88a7535c1d802c2facbf62a00582aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
import("//clang/utils/TableGen/clang_tablegen.gni")

clang_tablegen("Opcodes") {
  visibility = [ ":AST" ]
  args = [ "-gen-clang-opcodes" ]
  td_file = "Interp/Opcodes.td"
}

static_library("AST") {
  output_name = "clangAST"
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [
    ":Opcodes",
    "//clang/include/clang/AST:AttrImpl",
    "//clang/include/clang/AST:AttrNodeTraverse",
    "//clang/include/clang/AST:AttrTextNodeDump",
    "//clang/include/clang/AST:CommentCommandInfo",
    "//clang/include/clang/AST:CommentHTMLNamedCharacterReferences",
    "//clang/include/clang/AST:CommentHTMLTags",
    "//clang/include/clang/AST:CommentHTMLTagsProperties",
    "//clang/include/clang/AST:DeclNodes",
    "//clang/lib/Basic",
    "//clang/lib/Lex",
    "//llvm/lib/BinaryFormat",
    "//llvm/lib/Frontend/OpenMP",
    "//llvm/lib/Support",
  ]

  # Generated files used in public headers should be in public_deps, the rest
  # in regular deps.
  public_deps = [
    "//clang/include/clang/AST:AbstractBasicReader",
    "//clang/include/clang/AST:AbstractBasicWriter",
    "//clang/include/clang/AST:AbstractTypeReader",
    "//clang/include/clang/AST:AbstractTypeWriter",
    "//clang/include/clang/AST:AttrVisitor",
    "//clang/include/clang/AST:Attrs",
    "//clang/include/clang/AST:CommentCommandList",
    "//clang/include/clang/AST:CommentNodes",
    "//clang/include/clang/AST:StmtNodes",
    "//clang/include/clang/AST:TypeNodes",
  ]
  sources = [
    "APValue.cpp",
    "ASTConcept.cpp",
    "ASTConsumer.cpp",
    "ASTContext.cpp",
    "ASTDiagnostic.cpp",
    "ASTDumper.cpp",
    "ASTImporter.cpp",
    "ASTImporterLookupTable.cpp",
    "ASTStructuralEquivalence.cpp",
    "ASTTypeTraits.cpp",
    "AttrImpl.cpp",
    "CXXInheritance.cpp",
    "Comment.cpp",
    "CommentBriefParser.cpp",
    "CommentCommandTraits.cpp",
    "CommentLexer.cpp",
    "CommentParser.cpp",
    "CommentSema.cpp",
    "ComparisonCategories.cpp",
    "DataCollection.cpp",
    "Decl.cpp",
    "DeclBase.cpp",
    "DeclCXX.cpp",
    "DeclFriend.cpp",
    "DeclGroup.cpp",
    "DeclObjC.cpp",
    "DeclOpenMP.cpp",
    "DeclPrinter.cpp",
    "DeclTemplate.cpp",
    "DeclarationName.cpp",
    "Expr.cpp",
    "ExprCXX.cpp",
    "ExprClassification.cpp",
    "ExprConcepts.cpp",
    "ExprConstant.cpp",
    "ExprObjC.cpp",
    "ExternalASTMerger.cpp",
    "ExternalASTSource.cpp",
    "FormatString.cpp",
    "InheritViz.cpp",
    "Interp/Block.cpp",
    "Interp/ByteCodeEmitter.cpp",
    "Interp/ByteCodeExprGen.cpp",
    "Interp/ByteCodeGenError.cpp",
    "Interp/ByteCodeStmtGen.cpp",
    "Interp/Context.cpp",
    "Interp/Descriptor.cpp",
    "Interp/Disasm.cpp",
    "Interp/EvalEmitter.cpp",
    "Interp/Frame.cpp",
    "Interp/Function.cpp",
    "Interp/Interp.cpp",
    "Interp/InterpFrame.cpp",
    "Interp/InterpStack.cpp",
    "Interp/InterpState.cpp",
    "Interp/Pointer.cpp",
    "Interp/PrimType.cpp",
    "Interp/Program.cpp",
    "Interp/Record.cpp",
    "Interp/Source.cpp",
    "Interp/State.cpp",
    "ItaniumCXXABI.cpp",
    "ItaniumMangle.cpp",
    "JSONNodeDumper.cpp",
    "Mangle.cpp",
    "MicrosoftCXXABI.cpp",
    "MicrosoftMangle.cpp",
    "NSAPI.cpp",
    "NestedNameSpecifier.cpp",
    "ODRHash.cpp",
    "OSLog.cpp",
    "OpenMPClause.cpp",
    "ParentMap.cpp",
    "PrintfFormatString.cpp",
    "QualTypeNames.cpp",
    "RawCommentList.cpp",
    "RecordLayout.cpp",
    "RecordLayoutBuilder.cpp",
    "ScanfFormatString.cpp",
    "SelectorLocationsKind.cpp",
    "Stmt.cpp",
    "StmtCXX.cpp",
    "StmtIterator.cpp",
    "StmtObjC.cpp",
    "StmtOpenMP.cpp",
    "StmtPrinter.cpp",
    "StmtProfile.cpp",
    "StmtViz.cpp",
    "TemplateBase.cpp",
    "TemplateName.cpp",
    "TextNodeDumper.cpp",
    "Type.cpp",
    "TypeLoc.cpp",
    "TypePrinter.cpp",
    "VTTBuilder.cpp",
    "VTableBuilder.cpp",
  ]
}
OpenPOWER on IntegriCloud