75 lines · plain
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 "AmbiguousSmartptrResetCallCheck.cpp",16 "AvoidConstParamsInDeclsCheck.cpp",17 "AvoidNestedConditionalOperatorCheck.cpp",18 "AvoidReturnWithVoidValueCheck.cpp",19 "AvoidUnconditionalPreprocessorIfCheck.cpp",20 "BracesAroundStatementsCheck.cpp",21 "ConstReturnTypeCheck.cpp",22 "ContainerContainsCheck.cpp",23 "ContainerDataPointerCheck.cpp",24 "ContainerSizeEmptyCheck.cpp",25 "ConvertMemberFunctionsToStaticCheck.cpp",26 "DeleteNullPointerCheck.cpp",27 "DuplicateIncludeCheck.cpp",28 "ElseAfterReturnCheck.cpp",29 "EnumInitialValueCheck.cpp",30 "FunctionCognitiveComplexityCheck.cpp",31 "FunctionSizeCheck.cpp",32 "IdentifierLengthCheck.cpp",33 "IdentifierNamingCheck.cpp",34 "ImplicitBoolConversionCheck.cpp",35 "InconsistentDeclarationParameterNameCheck.cpp",36 "IsolateDeclarationCheck.cpp",37 "MagicNumbersCheck.cpp",38 "MakeMemberFunctionConstCheck.cpp",39 "MathMissingParenthesesCheck.cpp",40 "MisleadingIndentationCheck.cpp",41 "MisplacedArrayIndexCheck.cpp",42 "NamedParameterCheck.cpp",43 "NamespaceCommentCheck.cpp",44 "NonConstParameterCheck.cpp",45 "OperatorsRepresentationCheck.cpp",46 "QualifiedAutoCheck.cpp",47 "ReadabilityTidyModule.cpp",48 "RedundantAccessSpecifiersCheck.cpp",49 "RedundantCastingCheck.cpp",50 "RedundantControlFlowCheck.cpp",51 "RedundantDeclarationCheck.cpp",52 "RedundantFunctionPtrDereferenceCheck.cpp",53 "RedundantInlineSpecifierCheck.cpp",54 "RedundantMemberInitCheck.cpp",55 "RedundantParenthesesCheck.cpp",56 "RedundantPreprocessorCheck.cpp",57 "RedundantSmartptrGetCheck.cpp",58 "RedundantStringCStrCheck.cpp",59 "RedundantStringInitCheck.cpp",60 "RedundantTypenameCheck.cpp",61 "ReferenceToConstructedTemporaryCheck.cpp",62 "SimplifyBooleanExprCheck.cpp",63 "SimplifySubscriptExprCheck.cpp",64 "StaticAccessedThroughInstanceCheck.cpp",65 "StaticDefinitionInAnonymousNamespaceCheck.cpp",66 "StringCompareCheck.cpp",67 "SuspiciousCallArgumentCheck.cpp",68 "UniqueptrDeleteReleaseCheck.cpp",69 "UppercaseLiteralSuffixCheck.cpp",70 "UseAnyOfAllOfCheck.cpp",71 "UseConcisePreprocessorDirectivesCheck.cpp",72 "UseStdMinMaxCheck.cpp",73 ]74}75