[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / clang-tools-extra / clang-tidy / bugprone / BUILD.gn
blob82bdc56a1d0c27b8835ea26f508559d9947b03d0
1 static_library("bugprone") {
2   output_name = "clangTidyBugproneModule"
3   configs += [ "//llvm/utils/gn/build:clang_code" ]
4   deps = [
5     "//clang-tools-extra/clang-tidy",
6     "//clang-tools-extra/clang-tidy/cppcoreguidelines",
7     "//clang-tools-extra/clang-tidy/utils",
8     "//clang/lib/AST",
9     "//clang/lib/ASTMatchers",
10     "//clang/lib/Analysis",
11     "//clang/lib/Basic",
12     "//clang/lib/Lex",
13     "//clang/lib/Tooling",
14     "//llvm/lib/Support",
15   ]
16   sources = [
17     "ArgumentCommentCheck.cpp",
18     "AssertSideEffectCheck.cpp",
19     "BoolPointerImplicitConversionCheck.cpp",
20     "BranchCloneCheck.cpp",
21     "BugproneTidyModule.cpp",
22     "CopyConstructorInitCheck.cpp",
23     "DanglingHandleCheck.cpp",
24     "DynamicStaticInitializersCheck.cpp",
25     "ExceptionEscapeCheck.cpp",
26     "FoldInitTypeCheck.cpp",
27     "ForwardDeclarationNamespaceCheck.cpp",
28     "ForwardingReferenceOverloadCheck.cpp",
29     "InaccurateEraseCheck.cpp",
30     "IncorrectRoundingsCheck.cpp",
31     "InfiniteLoopCheck.cpp",
32     "IntegerDivisionCheck.cpp",
33     "LambdaFunctionNameCheck.cpp",
34     "MacroParenthesesCheck.cpp",
35     "MacroRepeatedSideEffectsCheck.cpp",
36     "MisplacedOperatorInStrlenInAllocCheck.cpp",
37     "MisplacedWideningCastCheck.cpp",
38     "MoveForwardingReferenceCheck.cpp",
39     "MultipleStatementMacroCheck.cpp",
40     "NotNullTerminatedResultCheck.cpp",
41     "ParentVirtualCallCheck.cpp",
42     "PosixReturnCheck.cpp",
43     "SizeofContainerCheck.cpp",
44     "SizeofExpressionCheck.cpp",
45     "StringConstructorCheck.cpp",
46     "StringIntegerAssignmentCheck.cpp",
47     "StringLiteralWithEmbeddedNulCheck.cpp",
48     "SuspiciousEnumUsageCheck.cpp",
49     "SuspiciousMemsetUsageCheck.cpp",
50     "SuspiciousMissingCommaCheck.cpp",
51     "SuspiciousSemicolonCheck.cpp",
52     "SuspiciousStringCompareCheck.cpp",
53     "SwappedArgumentsCheck.cpp",
54     "TerminatingContinueCheck.cpp",
55     "ThrowKeywordMissingCheck.cpp",
56     "TooSmallLoopVariableCheck.cpp",
57     "UndefinedMemoryManipulationCheck.cpp",
58     "UndelegatedConstructorCheck.cpp",
59     "UnhandledSelfAssignmentCheck.cpp",
60     "UnusedRaiiCheck.cpp",
61     "UnusedReturnValueCheck.cpp",
62     "UseAfterMoveCheck.cpp",
63     "VirtualNearMissCheck.cpp",
64   ]