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 "BadSignalToKillThreadCheck.cpp",
20 "BoolPointerImplicitConversionCheck.cpp",
21 "BranchCloneCheck.cpp",
22 "BugproneTidyModule.cpp",
23 "CopyConstructorInitCheck.cpp",
24 "DanglingHandleCheck.cpp",
25 "DynamicStaticInitializersCheck.cpp",
26 "EasilySwappableParametersCheck.cpp",
27 "ExceptionEscapeCheck.cpp",
28 "FoldInitTypeCheck.cpp",
29 "ForwardDeclarationNamespaceCheck.cpp",
30 "ForwardingReferenceOverloadCheck.cpp",
31 "ImplicitWideningOfMultiplicationResultCheck.cpp",
32 "InaccurateEraseCheck.cpp",
33 "IncorrectRoundingsCheck.cpp",
34 "InfiniteLoopCheck.cpp",
35 "IntegerDivisionCheck.cpp",
36 "LambdaFunctionNameCheck.cpp",
37 "MacroParenthesesCheck.cpp",
38 "MacroRepeatedSideEffectsCheck.cpp",
39 "MisplacedOperatorInStrlenInAllocCheck.cpp",
40 "MisplacedPointerArithmeticInAllocCheck.cpp",
41 "MisplacedWideningCastCheck.cpp",
42 "MoveForwardingReferenceCheck.cpp",
43 "MultipleStatementMacroCheck.cpp",
45 "NotNullTerminatedResultCheck.cpp",
46 "ParentVirtualCallCheck.cpp",
47 "PosixReturnCheck.cpp",
48 "RedundantBranchConditionCheck.cpp",
49 "ReservedIdentifierCheck.cpp",
50 "SignalHandlerCheck.cpp",
51 "SignedCharMisuseCheck.cpp",
52 "SizeofContainerCheck.cpp",
53 "SizeofExpressionCheck.cpp",
54 "SpuriouslyWakeUpFunctionsCheck.cpp",
55 "StringConstructorCheck.cpp",
56 "StringIntegerAssignmentCheck.cpp",
57 "StringLiteralWithEmbeddedNulCheck.cpp",
58 "SuspiciousEnumUsageCheck.cpp",
59 "SuspiciousIncludeCheck.cpp",
60 "SuspiciousMemsetUsageCheck.cpp",
61 "SuspiciousMissingCommaCheck.cpp",
62 "SuspiciousSemicolonCheck.cpp",
63 "SuspiciousStringCompareCheck.cpp",
64 "SwappedArgumentsCheck.cpp",
65 "TerminatingContinueCheck.cpp",
66 "ThrowKeywordMissingCheck.cpp",
67 "TooSmallLoopVariableCheck.cpp",
68 "UndefinedMemoryManipulationCheck.cpp",
69 "UndelegatedConstructorCheck.cpp",
70 "UnhandledExceptionAtNewCheck.cpp",
71 "UnhandledSelfAssignmentCheck.cpp",
72 "UnusedRaiiCheck.cpp",
73 "UnusedReturnValueCheck.cpp",
74 "UseAfterMoveCheck.cpp",
75 "VirtualNearMissCheck.cpp",