[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / clang-tidy / bugprone / CMakeLists.txt
blobd443fd8d1452f1685567d863b1348b826a62cbcc
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   CastingThroughVoidCheck.cpp
15   ComparePointerToMemberVirtualFunctionCheck.cpp
16   CopyConstructorInitCheck.cpp
17   DanglingHandleCheck.cpp
18   DynamicStaticInitializersCheck.cpp
19   EasilySwappableParametersCheck.cpp
20   EmptyCatchCheck.cpp
21   ExceptionEscapeCheck.cpp
22   FoldInitTypeCheck.cpp
23   ForwardDeclarationNamespaceCheck.cpp
24   ForwardingReferenceOverloadCheck.cpp
25   ImplicitWideningOfMultiplicationResultCheck.cpp
26   InaccurateEraseCheck.cpp
27   IncorrectEnableIfCheck.cpp
28   SwitchMissingDefaultCaseCheck.cpp
29   IncDecInConditionsCheck.cpp
30   IncorrectRoundingsCheck.cpp
31   InfiniteLoopCheck.cpp
32   IntegerDivisionCheck.cpp
33   LambdaFunctionNameCheck.cpp
34   MacroParenthesesCheck.cpp
35   MacroRepeatedSideEffectsCheck.cpp
36   MisplacedOperatorInStrlenInAllocCheck.cpp
37   MisplacedPointerArithmeticInAllocCheck.cpp
38   MisplacedWideningCastCheck.cpp
39   MoveForwardingReferenceCheck.cpp
40   MultiLevelImplicitPointerConversionCheck.cpp
41   MultipleNewInOneExpressionCheck.cpp
42   MultipleStatementMacroCheck.cpp
43   NoEscapeCheck.cpp
44   NonZeroEnumToBoolConversionCheck.cpp
45   NotNullTerminatedResultCheck.cpp
46   OptionalValueConversionCheck.cpp
47   ParentVirtualCallCheck.cpp
48   PosixReturnCheck.cpp
49   RedundantBranchConditionCheck.cpp
50   ReservedIdentifierCheck.cpp
51   SharedPtrArrayMismatchCheck.cpp
52   SignalHandlerCheck.cpp
53   SignedCharMisuseCheck.cpp
54   SizeofContainerCheck.cpp
55   SizeofExpressionCheck.cpp
56   SmartPtrArrayMismatchCheck.cpp
57   SpuriouslyWakeUpFunctionsCheck.cpp
58   StandaloneEmptyCheck.cpp
59   StringConstructorCheck.cpp
60   StringIntegerAssignmentCheck.cpp
61   StringLiteralWithEmbeddedNulCheck.cpp
62   StringviewNullptrCheck.cpp
63   SuspiciousEnumUsageCheck.cpp
64   SuspiciousIncludeCheck.cpp
65   SuspiciousMemoryComparisonCheck.cpp
66   SuspiciousMemsetUsageCheck.cpp
67   SuspiciousMissingCommaCheck.cpp
68   SuspiciousReallocUsageCheck.cpp
69   SuspiciousSemicolonCheck.cpp
70   SuspiciousStringCompareCheck.cpp
71   SwappedArgumentsCheck.cpp
72   TerminatingContinueCheck.cpp
73   ThrowKeywordMissingCheck.cpp
74   TooSmallLoopVariableCheck.cpp
75   UncheckedOptionalAccessCheck.cpp
76   UndefinedMemoryManipulationCheck.cpp
77   UndelegatedConstructorCheck.cpp
78   UnhandledExceptionAtNewCheck.cpp
79   UnhandledSelfAssignmentCheck.cpp
80   UniquePtrArrayMismatchCheck.cpp
81   UnsafeFunctionsCheck.cpp
82   UnusedRaiiCheck.cpp
83   UnusedReturnValueCheck.cpp
84   UseAfterMoveCheck.cpp
85   VirtualNearMissCheck.cpp
87   LINK_LIBS
88   clangTidy
89   clangTidyCppCoreGuidelinesModule
90   clangTidyUtils
92   DEPENDS
93   omp_gen
94   ClangDriverOptions
95   )
97 clang_target_link_libraries(clangTidyBugproneModule
98   PRIVATE
99   clangAnalysis
100   clangAnalysisFlowSensitive
101   clangAnalysisFlowSensitiveModels
102   clangAST
103   clangASTMatchers
104   clangBasic
105   clangLex
106   clangTooling
107   clangTransformer
108   )