[ARM] Add or update a number of costmodel tests. NFC
[llvm-complete.git] / utils / gn / secondary / clang-tools-extra / clang-tidy / bugprone / BUILD.gn
bloba51645d685c5e61102de0870138e18c1045896c7
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     "ExceptionEscapeCheck.cpp",
25     "FoldInitTypeCheck.cpp",
26     "ForwardDeclarationNamespaceCheck.cpp",
27     "ForwardingReferenceOverloadCheck.cpp",
28     "InaccurateEraseCheck.cpp",
29     "IncorrectRoundingsCheck.cpp",
30     "IntegerDivisionCheck.cpp",
31     "LambdaFunctionNameCheck.cpp",
32     "MacroParenthesesCheck.cpp",
33     "MacroRepeatedSideEffectsCheck.cpp",
34     "MisplacedOperatorInStrlenInAllocCheck.cpp",
35     "MisplacedWideningCastCheck.cpp",
36     "MoveForwardingReferenceCheck.cpp",
37     "MultipleStatementMacroCheck.cpp",
38     "ParentVirtualCallCheck.cpp",
39     "PosixReturnCheck.cpp",
40     "SizeofContainerCheck.cpp",
41     "SizeofExpressionCheck.cpp",
42     "StringConstructorCheck.cpp",
43     "StringIntegerAssignmentCheck.cpp",
44     "StringLiteralWithEmbeddedNulCheck.cpp",
45     "SuspiciousEnumUsageCheck.cpp",
46     "SuspiciousMemsetUsageCheck.cpp",
47     "SuspiciousMissingCommaCheck.cpp",
48     "SuspiciousSemicolonCheck.cpp",
49     "SuspiciousStringCompareCheck.cpp",
50     "SwappedArgumentsCheck.cpp",
51     "TerminatingContinueCheck.cpp",
52     "ThrowKeywordMissingCheck.cpp",
53     "TooSmallLoopVariableCheck.cpp",
54     "UndefinedMemoryManipulationCheck.cpp",
55     "UndelegatedConstructorCheck.cpp",
56     "UnhandledSelfAssignmentCheck.cpp",
57     "UnusedRaiiCheck.cpp",
58     "UnusedReturnValueCheck.cpp",
59     "UseAfterMoveCheck.cpp",
60     "VirtualNearMissCheck.cpp",
61   ]