| 1 |
static_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 |
"AvoidConstParamsInDecls.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 |
"ConvertMemberFunctionsToStatic.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 |
"RedundantPreprocessorCheck.cpp", |
| 56 |
"RedundantSmartptrGetCheck.cpp", |
| 57 |
"RedundantStringCStrCheck.cpp", |
| 58 |
"RedundantStringInitCheck.cpp", |
| 59 |
"ReferenceToConstructedTemporaryCheck.cpp", |
| 60 |
"SimplifyBooleanExprCheck.cpp", |
| 61 |
"SimplifySubscriptExprCheck.cpp", |
| 62 |
"StaticAccessedThroughInstanceCheck.cpp", |
| 63 |
"StaticDefinitionInAnonymousNamespaceCheck.cpp", |
| 64 |
"StringCompareCheck.cpp", |
| 65 |
"SuspiciousCallArgumentCheck.cpp", |
| 66 |
"UniqueptrDeleteReleaseCheck.cpp", |
| 67 |
"UppercaseLiteralSuffixCheck.cpp", |
| 68 |
"UseAnyOfAllOfCheck.cpp", |
| 69 |
"UseConcisePreprocessorDirectivesCheck.cpp", |
| 70 |
"UseStdMinMaxCheck.cpp", |
| 71 |
] |
| 72 |
} |