1 set(LLVM_LINK_COMPONENTS
6 add_clang_library(clangTidyBugproneModule STATIC
7 ArgumentCommentCheck.cpp
8 AssertSideEffectCheck.cpp
9 AssignmentInIfConditionCheck.cpp
10 BadSignalToKillThreadCheck.cpp
11 BitwisePointerCastCheck.cpp
12 BoolPointerImplicitConversionCheck.cpp
14 BugproneTidyModule.cpp
15 CastingThroughVoidCheck.cpp
16 ChainedComparisonCheck.cpp
17 ComparePointerToMemberVirtualFunctionCheck.cpp
18 CopyConstructorInitCheck.cpp
19 DanglingHandleCheck.cpp
20 DynamicStaticInitializersCheck.cpp
21 EasilySwappableParametersCheck.cpp
23 ExceptionEscapeCheck.cpp
25 ForwardDeclarationNamespaceCheck.cpp
26 ForwardingReferenceOverloadCheck.cpp
27 ImplicitWideningOfMultiplicationResultCheck.cpp
28 InaccurateEraseCheck.cpp
29 IncorrectEnableIfCheck.cpp
30 ReturnConstRefFromParameterCheck.cpp
31 SuspiciousStringviewDataUsageCheck.cpp
32 SwitchMissingDefaultCaseCheck.cpp
33 IncDecInConditionsCheck.cpp
34 IncorrectRoundingsCheck.cpp
36 IntegerDivisionCheck.cpp
37 LambdaFunctionNameCheck.cpp
38 MacroParenthesesCheck.cpp
39 MacroRepeatedSideEffectsCheck.cpp
40 MisplacedOperatorInStrlenInAllocCheck.cpp
41 MisplacedPointerArithmeticInAllocCheck.cpp
42 MisplacedWideningCastCheck.cpp
43 MoveForwardingReferenceCheck.cpp
44 MultiLevelImplicitPointerConversionCheck.cpp
45 MultipleNewInOneExpressionCheck.cpp
46 MultipleStatementMacroCheck.cpp
48 NondeterministicPointerIterationOrderCheck.cpp
49 NonZeroEnumToBoolConversionCheck.cpp
50 NotNullTerminatedResultCheck.cpp
51 OptionalValueConversionCheck.cpp
52 ParentVirtualCallCheck.cpp
53 PointerArithmeticOnPolymorphicObjectCheck.cpp
55 RedundantBranchConditionCheck.cpp
56 ReservedIdentifierCheck.cpp
57 SharedPtrArrayMismatchCheck.cpp
58 SignalHandlerCheck.cpp
59 SignedCharMisuseCheck.cpp
60 SizeofContainerCheck.cpp
61 SizeofExpressionCheck.cpp
62 SmartPtrArrayMismatchCheck.cpp
63 SpuriouslyWakeUpFunctionsCheck.cpp
64 StandaloneEmptyCheck.cpp
65 StringConstructorCheck.cpp
66 StringIntegerAssignmentCheck.cpp
67 StringLiteralWithEmbeddedNulCheck.cpp
68 StringviewNullptrCheck.cpp
69 SuspiciousEnumUsageCheck.cpp
70 SuspiciousIncludeCheck.cpp
71 SuspiciousMemoryComparisonCheck.cpp
72 SuspiciousMemsetUsageCheck.cpp
73 SuspiciousMissingCommaCheck.cpp
74 SuspiciousReallocUsageCheck.cpp
75 SuspiciousSemicolonCheck.cpp
76 SuspiciousStringCompareCheck.cpp
77 SwappedArgumentsCheck.cpp
78 TaggedUnionMemberCountCheck.cpp
79 TerminatingContinueCheck.cpp
80 ThrowKeywordMissingCheck.cpp
81 TooSmallLoopVariableCheck.cpp
82 UncheckedOptionalAccessCheck.cpp
83 UndefinedMemoryManipulationCheck.cpp
84 UndelegatedConstructorCheck.cpp
85 UnhandledExceptionAtNewCheck.cpp
86 UnhandledSelfAssignmentCheck.cpp
87 UniquePtrArrayMismatchCheck.cpp
88 CrtpConstructorAccessibilityCheck.cpp
89 UnsafeFunctionsCheck.cpp
90 UnusedLocalNonTrivialVariableCheck.cpp
92 UnusedReturnValueCheck.cpp
94 VirtualNearMissCheck.cpp
98 clangTidyCppCoreGuidelinesModule
106 clang_target_link_libraries(clangTidyBugproneModule
109 clangAnalysisFlowSensitive
110 clangAnalysisFlowSensitiveModels