1 static_library("bugprone") {
2 output_name = "clangTidyBugproneModule"
3 configs += [ "//llvm/utils/gn/build:clang_code" ]
5 "//clang-tools-extra/clang-tidy",
6 "//clang-tools-extra/clang-tidy/cppcoreguidelines",
7 "//clang-tools-extra/clang-tidy/utils",
9 "//clang/lib/ASTMatchers",
10 "//clang/lib/Analysis",
13 "//clang/lib/Tooling",
17 "ArgumentCommentCheck.cpp",
18 "AssertSideEffectCheck.cpp",
19 "BoolPointerImplicitConversionCheck.cpp",
20 "BranchCloneCheck.cpp",
21 "BugproneTidyModule.cpp",
22 "CopyConstructorInitCheck.cpp",
23 "DanglingHandleCheck.cpp",
24 "DynamicStaticInitializersCheck.cpp",
25 "ExceptionEscapeCheck.cpp",
26 "FoldInitTypeCheck.cpp",
27 "ForwardDeclarationNamespaceCheck.cpp",
28 "ForwardingReferenceOverloadCheck.cpp",
29 "InaccurateEraseCheck.cpp",
30 "IncorrectRoundingsCheck.cpp",
31 "InfiniteLoopCheck.cpp",
32 "IntegerDivisionCheck.cpp",
33 "LambdaFunctionNameCheck.cpp",
34 "MacroParenthesesCheck.cpp",
35 "MacroRepeatedSideEffectsCheck.cpp",
36 "MisplacedOperatorInStrlenInAllocCheck.cpp",
37 "MisplacedWideningCastCheck.cpp",
38 "MoveForwardingReferenceCheck.cpp",
39 "MultipleStatementMacroCheck.cpp",
40 "NotNullTerminatedResultCheck.cpp",
41 "ParentVirtualCallCheck.cpp",
42 "PosixReturnCheck.cpp",
43 "SizeofContainerCheck.cpp",
44 "SizeofExpressionCheck.cpp",
45 "StringConstructorCheck.cpp",
46 "StringIntegerAssignmentCheck.cpp",
47 "StringLiteralWithEmbeddedNulCheck.cpp",
48 "SuspiciousEnumUsageCheck.cpp",
49 "SuspiciousMemsetUsageCheck.cpp",
50 "SuspiciousMissingCommaCheck.cpp",
51 "SuspiciousSemicolonCheck.cpp",
52 "SuspiciousStringCompareCheck.cpp",
53 "SwappedArgumentsCheck.cpp",
54 "TerminatingContinueCheck.cpp",
55 "ThrowKeywordMissingCheck.cpp",
56 "TooSmallLoopVariableCheck.cpp",
57 "UndefinedMemoryManipulationCheck.cpp",
58 "UndelegatedConstructorCheck.cpp",
59 "UnhandledSelfAssignmentCheck.cpp",
60 "UnusedRaiiCheck.cpp",
61 "UnusedReturnValueCheck.cpp",
62 "UseAfterMoveCheck.cpp",
63 "VirtualNearMissCheck.cpp",