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