2017-07-14 20:15:55 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
|
|
|
|
add_clang_library(clangTidyBugproneModule
|
2017-11-24 01:02:48 +08:00
|
|
|
ArgumentCommentCheck.cpp
|
2017-11-24 22:16:29 +08:00
|
|
|
AssertSideEffectCheck.cpp
|
|
|
|
BoolPointerImplicitConversionCheck.cpp
|
2017-07-14 20:15:55 +08:00
|
|
|
BugproneTidyModule.cpp
|
2017-11-17 20:23:30 +08:00
|
|
|
CopyConstructorInitCheck.cpp
|
2017-11-24 17:52:05 +08:00
|
|
|
DanglingHandleCheck.cpp
|
2017-11-24 22:16:29 +08:00
|
|
|
FoldInitTypeCheck.cpp
|
|
|
|
ForwardDeclarationNamespaceCheck.cpp
|
2018-02-28 22:47:20 +08:00
|
|
|
ForwardingReferenceOverloadCheck.cpp
|
2017-11-24 22:16:29 +08:00
|
|
|
InaccurateEraseCheck.cpp
|
2018-01-30 23:12:24 +08:00
|
|
|
IncorrectRoundingsCheck.cpp
|
2017-08-10 21:30:30 +08:00
|
|
|
IntegerDivisionCheck.cpp
|
2018-02-28 22:47:20 +08:00
|
|
|
LambdaFunctionNameCheck.cpp
|
2018-03-15 16:25:39 +08:00
|
|
|
MacroParenthesesCheck.cpp
|
2018-02-28 22:47:20 +08:00
|
|
|
MacroRepeatedSideEffectsCheck.cpp
|
2017-11-23 20:26:28 +08:00
|
|
|
MisplacedOperatorInStrlenInAllocCheck.cpp
|
2018-02-28 22:47:20 +08:00
|
|
|
MisplacedWideningCastCheck.cpp
|
2017-11-24 22:16:29 +08:00
|
|
|
MoveForwardingReferenceCheck.cpp
|
|
|
|
MultipleStatementMacroCheck.cpp
|
2018-03-15 16:26:47 +08:00
|
|
|
SizeofContainerCheck.cpp
|
2018-03-15 16:26:19 +08:00
|
|
|
SizeofExpressionCheck.cpp
|
2017-11-23 21:49:14 +08:00
|
|
|
StringConstructorCheck.cpp
|
2018-03-01 07:30:29 +08:00
|
|
|
StringIntegerAssignmentCheck.cpp
|
|
|
|
StringLiteralWithEmbeddedNulCheck.cpp
|
|
|
|
SuspiciousEnumUsageCheck.cpp
|
2017-07-14 20:15:55 +08:00
|
|
|
SuspiciousMemsetUsageCheck.cpp
|
2018-03-01 07:30:29 +08:00
|
|
|
SuspiciousMissingCommaCheck.cpp
|
2018-03-01 07:47:15 +08:00
|
|
|
SuspiciousSemicolonCheck.cpp
|
|
|
|
SuspiciousStringCompareCheck.cpp
|
|
|
|
SwappedArgumentsCheck.cpp
|
2018-02-15 17:08:51 +08:00
|
|
|
ThrowKeywordMissingCheck.cpp
|
2017-07-14 20:20:19 +08:00
|
|
|
UndefinedMemoryManipulationCheck.cpp
|
2018-03-01 07:47:15 +08:00
|
|
|
UndelegatedConstructorCheck.cpp
|
2017-11-24 22:16:29 +08:00
|
|
|
UseAfterMoveCheck.cpp
|
|
|
|
VirtualNearMissCheck.cpp
|
2017-07-14 20:15:55 +08:00
|
|
|
|
|
|
|
LINK_LIBS
|
|
|
|
clangAnalysis
|
|
|
|
clangAST
|
|
|
|
clangASTMatchers
|
|
|
|
clangBasic
|
|
|
|
clangLex
|
|
|
|
clangTidy
|
|
|
|
clangTidyUtils
|
|
|
|
clangTooling
|
|
|
|
)
|