84 lines · plain
1set(LLVM_LINK_COMPONENTS2 FrontendOpenMP3 Support4 )5 6add_clang_library(clangTidyReadabilityModule STATIC7 AmbiguousSmartptrResetCallCheck.cpp8 AvoidConstParamsInDeclsCheck.cpp9 AvoidNestedConditionalOperatorCheck.cpp10 AvoidReturnWithVoidValueCheck.cpp11 AvoidUnconditionalPreprocessorIfCheck.cpp12 BracesAroundStatementsCheck.cpp13 ConstReturnTypeCheck.cpp14 ContainerContainsCheck.cpp15 ContainerDataPointerCheck.cpp16 ContainerSizeEmptyCheck.cpp17 ConvertMemberFunctionsToStaticCheck.cpp18 DeleteNullPointerCheck.cpp19 DuplicateIncludeCheck.cpp20 ElseAfterReturnCheck.cpp21 EnumInitialValueCheck.cpp22 FunctionCognitiveComplexityCheck.cpp23 FunctionSizeCheck.cpp24 IdentifierLengthCheck.cpp25 IdentifierNamingCheck.cpp26 ImplicitBoolConversionCheck.cpp27 RedundantInlineSpecifierCheck.cpp28 InconsistentDeclarationParameterNameCheck.cpp29 IsolateDeclarationCheck.cpp30 MagicNumbersCheck.cpp31 MakeMemberFunctionConstCheck.cpp32 MathMissingParenthesesCheck.cpp33 MisleadingIndentationCheck.cpp34 MisplacedArrayIndexCheck.cpp35 NamedParameterCheck.cpp36 NamespaceCommentCheck.cpp37 NonConstParameterCheck.cpp38 OperatorsRepresentationCheck.cpp39 QualifiedAutoCheck.cpp40 ReadabilityTidyModule.cpp41 RedundantAccessSpecifiersCheck.cpp42 RedundantCastingCheck.cpp43 RedundantControlFlowCheck.cpp44 RedundantDeclarationCheck.cpp45 RedundantFunctionPtrDereferenceCheck.cpp46 RedundantMemberInitCheck.cpp47 RedundantParenthesesCheck.cpp48 RedundantPreprocessorCheck.cpp49 RedundantSmartptrGetCheck.cpp50 RedundantStringCStrCheck.cpp51 RedundantStringInitCheck.cpp52 RedundantTypenameCheck.cpp53 ReferenceToConstructedTemporaryCheck.cpp54 SimplifyBooleanExprCheck.cpp55 SimplifySubscriptExprCheck.cpp56 StaticAccessedThroughInstanceCheck.cpp57 StaticDefinitionInAnonymousNamespaceCheck.cpp58 StringCompareCheck.cpp59 SuspiciousCallArgumentCheck.cpp60 UniqueptrDeleteReleaseCheck.cpp61 UppercaseLiteralSuffixCheck.cpp62 UseAnyOfAllOfCheck.cpp63 UseConcisePreprocessorDirectivesCheck.cpp64 UseStdMinMaxCheck.cpp65 66 LINK_LIBS67 clangTidy68 clangTidyUtils69 70 DEPENDS71 omp_gen72 ClangDriverOptions73 )74 75clang_target_link_libraries(clangTidyReadabilityModule76 PRIVATE77 clangAnalysis78 clangAST79 clangASTMatchers80 clangBasic81 clangLex82 clangTooling83 )84