1 import("//clang/utils/TableGen/clang_tablegen.gni")
3 clang_tablegen("Opcodes") {
4 visibility = [ ":AST" ]
5 args = [ "-gen-clang-opcodes" ]
6 td_file = "Interp/Opcodes.td"
9 static_library("AST") {
10 output_name = "clangAST"
11 configs += [ "//llvm/utils/gn/build:clang_code" ]
14 "//clang/include/clang/AST:AttrImpl",
15 "//clang/include/clang/AST:AttrNodeTraverse",
16 "//clang/include/clang/AST:AttrTextNodeDump",
17 "//clang/include/clang/AST:CommentCommandInfo",
18 "//clang/include/clang/AST:CommentHTMLNamedCharacterReferences",
19 "//clang/include/clang/AST:CommentHTMLTags",
20 "//clang/include/clang/AST:CommentHTMLTagsProperties",
21 "//clang/include/clang/AST:DeclNodes",
24 "//llvm/lib/BinaryFormat",
28 # Generated files used in public headers should be in public_deps, the rest
31 "//clang/include/clang/AST:AttrVisitor",
32 "//clang/include/clang/AST:Attrs",
33 "//clang/include/clang/AST:CommentCommandList",
34 "//clang/include/clang/AST:CommentNodes",
35 "//clang/include/clang/AST:StmtNodes",
36 "//clang/include/clang/AST:TypeNodes",
45 "ASTImporterLookupTable.cpp",
46 "ASTStructuralEquivalence.cpp",
51 "CommentBriefParser.cpp",
52 "CommentCommandTraits.cpp",
56 "ComparisonCategories.cpp",
67 "DeclarationName.cpp",
70 "ExprClassification.cpp",
73 "ExternalASTMerger.cpp",
74 "ExternalASTSource.cpp",
78 "Interp/ByteCodeEmitter.cpp",
79 "Interp/ByteCodeExprGen.cpp",
80 "Interp/ByteCodeGenError.cpp",
81 "Interp/ByteCodeStmtGen.cpp",
83 "Interp/Descriptor.cpp",
85 "Interp/EvalEmitter.cpp",
87 "Interp/Function.cpp",
89 "Interp/InterpFrame.cpp",
90 "Interp/InterpStack.cpp",
91 "Interp/InterpState.cpp",
93 "Interp/PrimType.cpp",
100 "JSONNodeDumper.cpp",
102 "MicrosoftCXXABI.cpp",
103 "MicrosoftMangle.cpp",
105 "NestedNameSpecifier.cpp",
110 "PrintfFormatString.cpp",
112 "RawCommentList.cpp",
114 "RecordLayoutBuilder.cpp",
115 "ScanfFormatString.cpp",
116 "SelectorLocationsKind.cpp",
127 "TextNodeDumper.cpp",