| 1 |
set(LLVM_LINK_COMPONENTS |
| 2 |
FrontendOpenMP |
| 3 |
Support |
| 4 |
) |
| 5 |
|
| 6 |
add_clang_library(clangTidyReadabilityModule |
| 7 |
AvoidConstParamsInDecls.cpp |
| 8 |
BracesAroundStatementsCheck.cpp |
| 9 |
ConstReturnTypeCheck.cpp |
| 10 |
ContainerContainsCheck.cpp |
| 11 |
ContainerDataPointerCheck.cpp |
| 12 |
ContainerSizeEmptyCheck.cpp |
| 13 |
ConvertMemberFunctionsToStatic.cpp |
| 14 |
DeleteNullPointerCheck.cpp |
| 15 |
DuplicateIncludeCheck.cpp |
| 16 |
ElseAfterReturnCheck.cpp |
| 17 |
FunctionCognitiveComplexityCheck.cpp |
| 18 |
FunctionSizeCheck.cpp |
| 19 |
IdentifierLengthCheck.cpp |
| 20 |
IdentifierNamingCheck.cpp |
| 21 |
ImplicitBoolConversionCheck.cpp |
| 22 |
InconsistentDeclarationParameterNameCheck.cpp |
| 23 |
IsolateDeclarationCheck.cpp |
| 24 |
MagicNumbersCheck.cpp |
| 25 |
MakeMemberFunctionConstCheck.cpp |
| 26 |
MisleadingIndentationCheck.cpp |
| 27 |
MisplacedArrayIndexCheck.cpp |
| 28 |
NamedParameterCheck.cpp |
| 29 |
NamespaceCommentCheck.cpp |
| 30 |
NonConstParameterCheck.cpp |
| 31 |
QualifiedAutoCheck.cpp |
| 32 |
ReadabilityTidyModule.cpp |
| 33 |
RedundantAccessSpecifiersCheck.cpp |
| 34 |
RedundantControlFlowCheck.cpp |
| 35 |
RedundantDeclarationCheck.cpp |
| 36 |
RedundantFunctionPtrDereferenceCheck.cpp |
| 37 |
RedundantMemberInitCheck.cpp |
| 38 |
RedundantPreprocessorCheck.cpp |
| 39 |
RedundantSmartptrGetCheck.cpp |
| 40 |
RedundantStringCStrCheck.cpp |
| 41 |
RedundantStringInitCheck.cpp |
| 42 |
SimplifyBooleanExprCheck.cpp |
| 43 |
SimplifySubscriptExprCheck.cpp |
| 44 |
StaticAccessedThroughInstanceCheck.cpp |
| 45 |
StaticDefinitionInAnonymousNamespaceCheck.cpp |
| 46 |
StringCompareCheck.cpp |
| 47 |
SuspiciousCallArgumentCheck.cpp |
| 48 |
UniqueptrDeleteReleaseCheck.cpp |
| 49 |
UppercaseLiteralSuffixCheck.cpp |
| 50 |
UseAnyOfAllOfCheck.cpp |
| 51 |
|
| 52 |
LINK_LIBS |
| 53 |
clangTidy |
| 54 |
clangTidyUtils |
| 55 |
|
| 56 |
DEPENDS |
| 57 |
omp_gen |
| 58 |
) |
| 59 |
|
| 60 |
clang_target_link_libraries(clangTidyReadabilityModule |
| 61 |
PRIVATE |
| 62 |
clangAnalysis |
| 63 |
clangAST |
| 64 |
clangASTMatchers |
| 65 |
clangBasic |
| 66 |
clangLex |
| 67 |
clangTooling |
| 68 |
) |