1set(LLVM_LINK_COMPONENTS 2 FrontendOpenMP 3 Support 4 ) 5 6if (MSVC) 7 set_source_files_properties(SemaDeclAttr.cpp PROPERTIES COMPILE_FLAGS /bigobj) 8 set_source_files_properties(SemaExpr.cpp PROPERTIES COMPILE_FLAGS /bigobj) 9 set_source_files_properties(SemaExprCXX.cpp PROPERTIES COMPILE_FLAGS /bigobj) 10 set_source_files_properties(SemaTemplate.cpp PROPERTIES COMPILE_FLAGS /bigobj) 11endif() 12 13clang_tablegen(OpenCLBuiltins.inc -gen-clang-opencl-builtins 14 SOURCE OpenCLBuiltins.td 15 TARGET ClangOpenCLBuiltinsImpl 16 ) 17 18add_clang_library(clangSema 19 AnalysisBasedWarnings.cpp 20 CodeCompleteConsumer.cpp 21 DeclSpec.cpp 22 DelayedDiagnostic.cpp 23 IdentifierResolver.cpp 24 JumpDiagnostics.cpp 25 MultiplexExternalSemaSource.cpp 26 ParsedAttr.cpp 27 Scope.cpp 28 ScopeInfo.cpp 29 Sema.cpp 30 SemaAccess.cpp 31 SemaAttr.cpp 32 SemaCXXScopeSpec.cpp 33 SemaCast.cpp 34 SemaChecking.cpp 35 SemaCodeComplete.cpp 36 SemaConcept.cpp 37 SemaConsumer.cpp 38 SemaCoroutine.cpp 39 SemaCUDA.cpp 40 SemaDecl.cpp 41 SemaDeclAttr.cpp 42 SemaDeclCXX.cpp 43 SemaDeclObjC.cpp 44 SemaExceptionSpec.cpp 45 SemaExpr.cpp 46 SemaExprCXX.cpp 47 SemaExprMember.cpp 48 SemaExprObjC.cpp 49 SemaFixItUtils.cpp 50 SemaInit.cpp 51 SemaLambda.cpp 52 SemaLookup.cpp 53 SemaModule.cpp 54 SemaObjCProperty.cpp 55 SemaOpenMP.cpp 56 SemaOverload.cpp 57 SemaPseudoObject.cpp 58 SemaStmt.cpp 59 SemaStmtAsm.cpp 60 SemaStmtAttr.cpp 61 SemaTemplate.cpp 62 SemaTemplateDeduction.cpp 63 SemaTemplateInstantiate.cpp 64 SemaTemplateInstantiateDecl.cpp 65 SemaTemplateVariadic.cpp 66 SemaType.cpp 67 TypeLocBuilder.cpp 68 69 DEPENDS 70 ClangOpenCLBuiltinsImpl 71 72 LINK_LIBS 73 clangAST 74 clangAnalysis 75 clangBasic 76 clangEdit 77 clangLex 78 ) 79