1set(LLVM_LINK_COMPONENTS 2 BinaryFormat 3 Core 4 FrontendOpenMP 5 Support 6 TargetParser 7 ) 8 9# FIXME: the entry points to the interpreter should be moved out of clangAST 10# into the parser or Sema in order to allow the interpreter to be moved to 11# another library which depends on clangAST. 12clang_tablegen(Opcodes.inc 13 -gen-clang-opcodes 14 SOURCE ByteCode/Opcodes.td 15 TARGET Opcodes) 16 17clang_tablegen(AttrDocTable.inc -gen-clang-attr-doc-table 18 -I ${CMAKE_CURRENT_SOURCE_DIR}/../../include/ 19 SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/../../include/clang/Basic/Attr.td 20 TARGET ClangAttrDocTable) 21 22add_clang_library(clangAST 23 APValue.cpp 24 ASTConcept.cpp 25 ASTConsumer.cpp 26 ASTContext.cpp 27 ASTDiagnostic.cpp 28 ASTDumper.cpp 29 ASTImporter.cpp 30 ASTImporterLookupTable.cpp 31 ASTStructuralEquivalence.cpp 32 ASTTypeTraits.cpp 33 AttrDocTable.cpp 34 AttrImpl.cpp 35 Availability.cpp 36 Comment.cpp 37 CommentBriefParser.cpp 38 CommentCommandTraits.cpp 39 CommentLexer.cpp 40 CommentParser.cpp 41 CommentSema.cpp 42 ComparisonCategories.cpp 43 ComputeDependence.cpp 44 CXXInheritance.cpp 45 DataCollection.cpp 46 Decl.cpp 47 DeclarationName.cpp 48 DeclBase.cpp 49 DeclCXX.cpp 50 DeclFriend.cpp 51 DeclGroup.cpp 52 DeclObjC.cpp 53 DeclOpenMP.cpp 54 DeclPrinter.cpp 55 DeclTemplate.cpp 56 DynamicRecursiveASTVisitor.cpp 57 ParentMapContext.cpp 58 Expr.cpp 59 ExprClassification.cpp 60 ExprConcepts.cpp 61 ExprConstant.cpp 62 ExprCXX.cpp 63 ExprObjC.cpp 64 ExternalASTMerger.cpp 65 ExternalASTSource.cpp 66 FormatString.cpp 67 InheritViz.cpp 68 ByteCode/BitcastBuffer.cpp 69 ByteCode/ByteCodeEmitter.cpp 70 ByteCode/Compiler.cpp 71 ByteCode/Context.cpp 72 ByteCode/Descriptor.cpp 73 ByteCode/Disasm.cpp 74 ByteCode/EvalEmitter.cpp 75 ByteCode/Frame.cpp 76 ByteCode/Function.cpp 77 ByteCode/FunctionPointer.cpp 78 ByteCode/InterpBuiltin.cpp 79 ByteCode/InterpBuiltinBitCast.cpp 80 ByteCode/Floating.cpp 81 ByteCode/EvaluationResult.cpp 82 ByteCode/DynamicAllocator.cpp 83 ByteCode/Interp.cpp 84 ByteCode/InterpBlock.cpp 85 ByteCode/InterpFrame.cpp 86 ByteCode/InterpStack.cpp 87 ByteCode/InterpState.cpp 88 ByteCode/Pointer.cpp 89 ByteCode/PrimType.cpp 90 ByteCode/Program.cpp 91 ByteCode/Record.cpp 92 ByteCode/Source.cpp 93 ByteCode/State.cpp 94 ByteCode/MemberPointer.cpp 95 ByteCode/InterpShared.cpp 96 ItaniumCXXABI.cpp 97 ItaniumMangle.cpp 98 JSONNodeDumper.cpp 99 Mangle.cpp 100 MicrosoftCXXABI.cpp 101 MicrosoftMangle.cpp 102 NestedNameSpecifier.cpp 103 NSAPI.cpp 104 ODRDiagsEmitter.cpp 105 ODRHash.cpp 106 OpenACCClause.cpp 107 OpenMPClause.cpp 108 OSLog.cpp 109 ParentMap.cpp 110 PrintfFormatString.cpp 111 QualTypeNames.cpp 112 Randstruct.cpp 113 RawCommentList.cpp 114 RecordLayout.cpp 115 RecordLayoutBuilder.cpp 116 ScanfFormatString.cpp 117 SelectorLocationsKind.cpp 118 Stmt.cpp 119 StmtCXX.cpp 120 StmtIterator.cpp 121 StmtObjC.cpp 122 StmtOpenACC.cpp 123 StmtOpenMP.cpp 124 StmtPrinter.cpp 125 StmtProfile.cpp 126 StmtViz.cpp 127 TemplateBase.cpp 128 TemplateName.cpp 129 TextNodeDumper.cpp 130 Type.cpp 131 TypeLoc.cpp 132 TypePrinter.cpp 133 VTableBuilder.cpp 134 VTTBuilder.cpp 135 136 LINK_LIBS 137 clangBasic 138 clangLex 139 140 DEPENDS 141 ClangAttrDocTable 142 Opcodes 143 omp_gen 144 ClangDriverOptions 145 intrinsics_gen 146 # These generated headers are included transitively. 147 AArch64TargetParserTableGen 148 ) 149