BUILD.gn
2.19 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
55
56
57
58
59
60
61
62
63
64
65
66
67
static_library("bugprone") {
output_name = "clangTidyBugproneModule"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clang-tidy",
"//clang-tools-extra/clang-tidy/cppcoreguidelines",
"//clang-tools-extra/clang-tidy/utils",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Analysis",
"//clang/lib/Basic",
"//clang/lib/Lex",
"//clang/lib/Tooling",
"//llvm/lib/Support",
]
sources = [
"ArgumentCommentCheck.cpp",
"AssertSideEffectCheck.cpp",
"BadSignalToKillThreadCheck.cpp",
"BoolPointerImplicitConversionCheck.cpp",
"BranchCloneCheck.cpp",
"BugproneTidyModule.cpp",
"CopyConstructorInitCheck.cpp",
"DanglingHandleCheck.cpp",
"DynamicStaticInitializersCheck.cpp",
"ExceptionEscapeCheck.cpp",
"FoldInitTypeCheck.cpp",
"ForwardDeclarationNamespaceCheck.cpp",
"ForwardingReferenceOverloadCheck.cpp",
"InaccurateEraseCheck.cpp",
"IncorrectRoundingsCheck.cpp",
"InfiniteLoopCheck.cpp",
"IntegerDivisionCheck.cpp",
"LambdaFunctionNameCheck.cpp",
"MacroParenthesesCheck.cpp",
"MacroRepeatedSideEffectsCheck.cpp",
"MisplacedOperatorInStrlenInAllocCheck.cpp",
"MisplacedWideningCastCheck.cpp",
"MoveForwardingReferenceCheck.cpp",
"MultipleStatementMacroCheck.cpp",
"NotNullTerminatedResultCheck.cpp",
"ParentVirtualCallCheck.cpp",
"PosixReturnCheck.cpp",
"SignedCharMisuseCheck.cpp",
"SizeofContainerCheck.cpp",
"SizeofExpressionCheck.cpp",
"StringConstructorCheck.cpp",
"StringIntegerAssignmentCheck.cpp",
"StringLiteralWithEmbeddedNulCheck.cpp",
"SuspiciousEnumUsageCheck.cpp",
"SuspiciousMemsetUsageCheck.cpp",
"SuspiciousMissingCommaCheck.cpp",
"SuspiciousSemicolonCheck.cpp",
"SuspiciousStringCompareCheck.cpp",
"SwappedArgumentsCheck.cpp",
"TerminatingContinueCheck.cpp",
"ThrowKeywordMissingCheck.cpp",
"TooSmallLoopVariableCheck.cpp",
"UndefinedMemoryManipulationCheck.cpp",
"UndelegatedConstructorCheck.cpp",
"UnhandledSelfAssignmentCheck.cpp",
"UnusedRaiiCheck.cpp",
"UnusedReturnValueCheck.cpp",
"UseAfterMoveCheck.cpp",
"VirtualNearMissCheck.cpp",
]
}