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    "BracesAroundStatementsCheck.cpp",
17    "ConstReturnTypeCheck.cpp",
18    "ContainerSizeEmptyCheck.cpp",
19    "ConvertMemberFunctionsToStatic.cpp",
20    "DeleteNullPointerCheck.cpp",
21    "DeletedDefaultCheck.cpp",
22    "ElseAfterReturnCheck.cpp",
23    "FunctionCognitiveComplexityCheck.cpp",
24    "FunctionSizeCheck.cpp",
25    "IdentifierNamingCheck.cpp",
26    "ImplicitBoolConversionCheck.cpp",
27    "InconsistentDeclarationParameterNameCheck.cpp",
28    "IsolateDeclarationCheck.cpp",
29    "MagicNumbersCheck.cpp",
30    "MakeMemberFunctionConstCheck.cpp",
31    "MisleadingIndentationCheck.cpp",
32    "MisplacedArrayIndexCheck.cpp",
33    "NamedParameterCheck.cpp",
34    "NamespaceCommentCheck.cpp",
35    "NonConstParameterCheck.cpp",
36    "QualifiedAutoCheck.cpp",
37    "ReadabilityTidyModule.cpp",
38    "RedundantAccessSpecifiersCheck.cpp",
39    "RedundantControlFlowCheck.cpp",
40    "RedundantDeclarationCheck.cpp",
41    "RedundantFunctionPtrDereferenceCheck.cpp",
42    "RedundantMemberInitCheck.cpp",
43    "RedundantPreprocessorCheck.cpp",
44    "RedundantSmartptrGetCheck.cpp",
45    "RedundantStringCStrCheck.cpp",
46    "RedundantStringInitCheck.cpp",
47    "SimplifyBooleanExprCheck.cpp",
48    "SimplifySubscriptExprCheck.cpp",
49    "StaticAccessedThroughInstanceCheck.cpp",
50    "StaticDefinitionInAnonymousNamespaceCheck.cpp",
51    "StringCompareCheck.cpp",
52    "UniqueptrDeleteReleaseCheck.cpp",
53    "UppercaseLiteralSuffixCheck.cpp",
54    "UseAnyOfAllOfCheck.cpp",
55  ]
56}
57