BUILD.gn
1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
static_library("readability") {
output_name = "clangTidyReadabilityModule"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clang-tidy",
"//clang-tools-extra/clang-tidy/utils",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
"//clang/lib/Lex",
"//clang/lib/Tooling",
"//llvm/lib/Support",
]
sources = [
"AvoidConstParamsInDecls.cpp",
"BracesAroundStatementsCheck.cpp",
"ConstReturnTypeCheck.cpp",
"ContainerSizeEmptyCheck.cpp",
"ConvertMemberFunctionsToStatic.cpp",
"DeleteNullPointerCheck.cpp",
"DeletedDefaultCheck.cpp",
"ElseAfterReturnCheck.cpp",
"FunctionSizeCheck.cpp",
"IdentifierNamingCheck.cpp",
"ImplicitBoolConversionCheck.cpp",
"InconsistentDeclarationParameterNameCheck.cpp",
"IsolateDeclarationCheck.cpp",
"MagicNumbersCheck.cpp",
"MakeMemberFunctionConstCheck.cpp",
"MisleadingIndentationCheck.cpp",
"MisplacedArrayIndexCheck.cpp",
"NamedParameterCheck.cpp",
"NamespaceCommentCheck.cpp",
"NonConstParameterCheck.cpp",
"QualifiedAutoCheck.cpp",
"ReadabilityTidyModule.cpp",
"RedundantAccessSpecifiersCheck.cpp",
"RedundantControlFlowCheck.cpp",
"RedundantDeclarationCheck.cpp",
"RedundantFunctionPtrDereferenceCheck.cpp",
"RedundantMemberInitCheck.cpp",
"RedundantPreprocessorCheck.cpp",
"RedundantSmartptrGetCheck.cpp",
"RedundantStringCStrCheck.cpp",
"RedundantStringInitCheck.cpp",
"SimplifyBooleanExprCheck.cpp",
"SimplifySubscriptExprCheck.cpp",
"StaticAccessedThroughInstanceCheck.cpp",
"StaticDefinitionInAnonymousNamespaceCheck.cpp",
"StringCompareCheck.cpp",
"UniqueptrDeleteReleaseCheck.cpp",
"UppercaseLiteralSuffixCheck.cpp",
]
}