1set(LLVM_LINK_COMPONENTS 2 FrontendOpenMP 3 Support 4 ) 5 6add_clang_library(clangTidyCppCoreGuidelinesModule 7 AvoidGotoCheck.cpp 8 AvoidNonConstGlobalVariablesCheck.cpp 9 CppCoreGuidelinesTidyModule.cpp 10 InitVariablesCheck.cpp 11 InterfacesGlobalInitCheck.cpp 12 MacroUsageCheck.cpp 13 NarrowingConversionsCheck.cpp 14 NoMallocCheck.cpp 15 OwningMemoryCheck.cpp 16 PreferMemberInitializerCheck.cpp 17 ProBoundsArrayToPointerDecayCheck.cpp 18 ProBoundsConstantArrayIndexCheck.cpp 19 ProBoundsPointerArithmeticCheck.cpp 20 ProTypeConstCastCheck.cpp 21 ProTypeCstyleCastCheck.cpp 22 ProTypeMemberInitCheck.cpp 23 ProTypeReinterpretCastCheck.cpp 24 ProTypeStaticCastDowncastCheck.cpp 25 ProTypeUnionAccessCheck.cpp 26 ProTypeVarargCheck.cpp 27 SlicingCheck.cpp 28 SpecialMemberFunctionsCheck.cpp 29 30 LINK_LIBS 31 clangTidy 32 clangTidyMiscModule 33 clangTidyModernizeModule 34 clangTidyReadabilityModule 35 clangTidyUtils 36 37 DEPENDS 38 omp_gen 39 ) 40 41clang_target_link_libraries(clangTidyCppCoreGuidelinesModule 42 PRIVATE 43 clangAST 44 clangASTMatchers 45 clangBasic 46 clangLex 47 clangSerialization 48 clangTooling 49 ) 50