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