1static_library("readability") { 2 output_name = "clangTidyReadabilityModule" 3 configs += [ "//llvm/utils/gn/build:clang_code" ] 4 deps = [ 5 "//clang-tools-extra/clang-tidy", 6 "//clang-tools-extra/clang-tidy/utils", 7 "//clang/lib/AST", 8 "//clang/lib/ASTMatchers", 9 "//clang/lib/Basic", 10 "//clang/lib/Lex", 11 "//clang/lib/Tooling", 12 "//llvm/lib/Support", 13 ] 14 sources = [ 15 "AvoidConstParamsInDecls.cpp", 16 "AvoidNestedConditionalOperatorCheck.cpp", 17 "AvoidReturnWithVoidValueCheck.cpp", 18 "AvoidUnconditionalPreprocessorIfCheck.cpp", 19 "BracesAroundStatementsCheck.cpp", 20 "ConstReturnTypeCheck.cpp", 21 "ContainerContainsCheck.cpp", 22 "ContainerDataPointerCheck.cpp", 23 "ContainerSizeEmptyCheck.cpp", 24 "ConvertMemberFunctionsToStatic.cpp", 25 "DeleteNullPointerCheck.cpp", 26 "DuplicateIncludeCheck.cpp", 27 "ElseAfterReturnCheck.cpp", 28 "EnumInitialValueCheck.cpp", 29 "FunctionCognitiveComplexityCheck.cpp", 30 "FunctionSizeCheck.cpp", 31 "IdentifierLengthCheck.cpp", 32 "IdentifierNamingCheck.cpp", 33 "ImplicitBoolConversionCheck.cpp", 34 "InconsistentDeclarationParameterNameCheck.cpp", 35 "IsolateDeclarationCheck.cpp", 36 "MagicNumbersCheck.cpp", 37 "MakeMemberFunctionConstCheck.cpp", 38 "MathMissingParenthesesCheck.cpp", 39 "MisleadingIndentationCheck.cpp", 40 "MisplacedArrayIndexCheck.cpp", 41 "NamedParameterCheck.cpp", 42 "NamespaceCommentCheck.cpp", 43 "NonConstParameterCheck.cpp", 44 "OperatorsRepresentationCheck.cpp", 45 "QualifiedAutoCheck.cpp", 46 "ReadabilityTidyModule.cpp", 47 "RedundantAccessSpecifiersCheck.cpp", 48 "RedundantCastingCheck.cpp", 49 "RedundantControlFlowCheck.cpp", 50 "RedundantDeclarationCheck.cpp", 51 "RedundantFunctionPtrDereferenceCheck.cpp", 52 "RedundantInlineSpecifierCheck.cpp", 53 "RedundantMemberInitCheck.cpp", 54 "RedundantPreprocessorCheck.cpp", 55 "RedundantSmartptrGetCheck.cpp", 56 "RedundantStringCStrCheck.cpp", 57 "RedundantStringInitCheck.cpp", 58 "ReferenceToConstructedTemporaryCheck.cpp", 59 "SimplifyBooleanExprCheck.cpp", 60 "SimplifySubscriptExprCheck.cpp", 61 "StaticAccessedThroughInstanceCheck.cpp", 62 "StaticDefinitionInAnonymousNamespaceCheck.cpp", 63 "StringCompareCheck.cpp", 64 "SuspiciousCallArgumentCheck.cpp", 65 "UniqueptrDeleteReleaseCheck.cpp", 66 "UppercaseLiteralSuffixCheck.cpp", 67 "UseAnyOfAllOfCheck.cpp", 68 "UseStdMinMaxCheck.cpp", 69 ] 70} 71