xref: /netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn (revision 82d56013d7b633d116a93943de88e08335357a7c)
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    "ElseAfterReturnCheck.cpp",
22    "FunctionCognitiveComplexityCheck.cpp",
23    "FunctionSizeCheck.cpp",
24    "IdentifierNamingCheck.cpp",
25    "ImplicitBoolConversionCheck.cpp",
26    "InconsistentDeclarationParameterNameCheck.cpp",
27    "IsolateDeclarationCheck.cpp",
28    "MagicNumbersCheck.cpp",
29    "MakeMemberFunctionConstCheck.cpp",
30    "MisleadingIndentationCheck.cpp",
31    "MisplacedArrayIndexCheck.cpp",
32    "NamedParameterCheck.cpp",
33    "NamespaceCommentCheck.cpp",
34    "NonConstParameterCheck.cpp",
35    "QualifiedAutoCheck.cpp",
36    "ReadabilityTidyModule.cpp",
37    "RedundantAccessSpecifiersCheck.cpp",
38    "RedundantControlFlowCheck.cpp",
39    "RedundantDeclarationCheck.cpp",
40    "RedundantFunctionPtrDereferenceCheck.cpp",
41    "RedundantMemberInitCheck.cpp",
42    "RedundantPreprocessorCheck.cpp",
43    "RedundantSmartptrGetCheck.cpp",
44    "RedundantStringCStrCheck.cpp",
45    "RedundantStringInitCheck.cpp",
46    "SimplifyBooleanExprCheck.cpp",
47    "SimplifySubscriptExprCheck.cpp",
48    "StaticAccessedThroughInstanceCheck.cpp",
49    "StaticDefinitionInAnonymousNamespaceCheck.cpp",
50    "StringCompareCheck.cpp",
51    "UniqueptrDeleteReleaseCheck.cpp",
52    "UppercaseLiteralSuffixCheck.cpp",
53    "UseAnyOfAllOfCheck.cpp",
54  ]
55}
56