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