xref: /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn (revision d415bd752c734aee168c4ee86ff32e8cc249eb16)
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    "ContainerContainsCheck.cpp",
19    "ContainerDataPointerCheck.cpp",
20    "ContainerSizeEmptyCheck.cpp",
21    "ConvertMemberFunctionsToStatic.cpp",
22    "DeleteNullPointerCheck.cpp",
23    "DuplicateIncludeCheck.cpp",
24    "ElseAfterReturnCheck.cpp",
25    "FunctionCognitiveComplexityCheck.cpp",
26    "FunctionSizeCheck.cpp",
27    "IdentifierLengthCheck.cpp",
28    "IdentifierNamingCheck.cpp",
29    "ImplicitBoolConversionCheck.cpp",
30    "InconsistentDeclarationParameterNameCheck.cpp",
31    "IsolateDeclarationCheck.cpp",
32    "MagicNumbersCheck.cpp",
33    "MakeMemberFunctionConstCheck.cpp",
34    "MisleadingIndentationCheck.cpp",
35    "MisplacedArrayIndexCheck.cpp",
36    "NamedParameterCheck.cpp",
37    "NamespaceCommentCheck.cpp",
38    "NonConstParameterCheck.cpp",
39    "QualifiedAutoCheck.cpp",
40    "ReadabilityTidyModule.cpp",
41    "RedundantAccessSpecifiersCheck.cpp",
42    "RedundantControlFlowCheck.cpp",
43    "RedundantDeclarationCheck.cpp",
44    "RedundantFunctionPtrDereferenceCheck.cpp",
45    "RedundantMemberInitCheck.cpp",
46    "RedundantPreprocessorCheck.cpp",
47    "RedundantSmartptrGetCheck.cpp",
48    "RedundantStringCStrCheck.cpp",
49    "RedundantStringInitCheck.cpp",
50    "SimplifyBooleanExprCheck.cpp",
51    "SimplifySubscriptExprCheck.cpp",
52    "StaticAccessedThroughInstanceCheck.cpp",
53    "StaticDefinitionInAnonymousNamespaceCheck.cpp",
54    "StringCompareCheck.cpp",
55    "SuspiciousCallArgumentCheck.cpp",
56    "UniqueptrDeleteReleaseCheck.cpp",
57    "UppercaseLiteralSuffixCheck.cpp",
58    "UseAnyOfAllOfCheck.cpp",
59  ]
60}
61