[Workflow] Try to fix code-formatter failing to find changes in some cases.
[llvm-project.git] / clang-tools-extra / clang-tidy / bugprone / CMakeLists.txt
blob0df9e439b715e5a4df4033cd42389ae88e6a29b2
1 set(LLVM_LINK_COMPONENTS
2   support
3   FrontendOpenMP
4   )
6 add_clang_library(clangTidyBugproneModule
7   ArgumentCommentCheck.cpp
8   AssertSideEffectCheck.cpp
9   AssignmentInIfConditionCheck.cpp
10   BadSignalToKillThreadCheck.cpp
11   BoolPointerImplicitConversionCheck.cpp
12   BranchCloneCheck.cpp
13   BugproneTidyModule.cpp
14   ComparePointerToMemberVirtualFunctionCheck.cpp
15   CopyConstructorInitCheck.cpp
16   DanglingHandleCheck.cpp
17   DynamicStaticInitializersCheck.cpp
18   EasilySwappableParametersCheck.cpp
19   EmptyCatchCheck.cpp
20   ExceptionEscapeCheck.cpp
21   FoldInitTypeCheck.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
30   InfiniteLoopCheck.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
42   NoEscapeCheck.cpp
43   NonZeroEnumToBoolConversionCheck.cpp
44   NotNullTerminatedResultCheck.cpp
45   OptionalValueConversionCheck.cpp
46   ParentVirtualCallCheck.cpp
47   PosixReturnCheck.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
81   UnusedRaiiCheck.cpp
82   UnusedReturnValueCheck.cpp
83   UseAfterMoveCheck.cpp
84   VirtualNearMissCheck.cpp
86   LINK_LIBS
87   clangTidy
88   clangTidyCppCoreGuidelinesModule
89   clangTidyUtils
91   DEPENDS
92   omp_gen
93   ClangDriverOptions
94   )
96 clang_target_link_libraries(clangTidyBugproneModule
97   PRIVATE
98   clangAnalysis
99   clangAnalysisFlowSensitive
100   clangAnalysisFlowSensitiveModels
101   clangAST
102   clangASTMatchers
103   clangBasic
104   clangLex
105   clangTooling
106   clangTransformer
107   )