forked from OSchip/llvm-project
90 lines
2.3 KiB
CMake
90 lines
2.3 KiB
CMake
set(LLVM_LINK_COMPONENTS
|
|
support
|
|
FrontendOpenMP
|
|
)
|
|
|
|
add_clang_library(clangTidyBugproneModule
|
|
ArgumentCommentCheck.cpp
|
|
AssertSideEffectCheck.cpp
|
|
BadSignalToKillThreadCheck.cpp
|
|
BoolPointerImplicitConversionCheck.cpp
|
|
BranchCloneCheck.cpp
|
|
BugproneTidyModule.cpp
|
|
CopyConstructorInitCheck.cpp
|
|
DanglingHandleCheck.cpp
|
|
DynamicStaticInitializersCheck.cpp
|
|
EasilySwappableParametersCheck.cpp
|
|
ExceptionEscapeCheck.cpp
|
|
FoldInitTypeCheck.cpp
|
|
ForwardDeclarationNamespaceCheck.cpp
|
|
ForwardingReferenceOverloadCheck.cpp
|
|
ImplicitWideningOfMultiplicationResultCheck.cpp
|
|
InaccurateEraseCheck.cpp
|
|
IncorrectRoundingsCheck.cpp
|
|
InfiniteLoopCheck.cpp
|
|
IntegerDivisionCheck.cpp
|
|
LambdaFunctionNameCheck.cpp
|
|
MacroParenthesesCheck.cpp
|
|
MacroRepeatedSideEffectsCheck.cpp
|
|
MisplacedOperatorInStrlenInAllocCheck.cpp
|
|
MisplacedPointerArithmeticInAllocCheck.cpp
|
|
MisplacedWideningCastCheck.cpp
|
|
MoveForwardingReferenceCheck.cpp
|
|
MultipleStatementMacroCheck.cpp
|
|
NoEscapeCheck.cpp
|
|
NotNullTerminatedResultCheck.cpp
|
|
ParentVirtualCallCheck.cpp
|
|
PosixReturnCheck.cpp
|
|
RedundantBranchConditionCheck.cpp
|
|
ReservedIdentifierCheck.cpp
|
|
SharedPtrArrayMismatchCheck.cpp
|
|
SmartPtrArrayMismatchCheck.cpp
|
|
SignalHandlerCheck.cpp
|
|
SignedCharMisuseCheck.cpp
|
|
SizeofContainerCheck.cpp
|
|
SizeofExpressionCheck.cpp
|
|
SpuriouslyWakeUpFunctionsCheck.cpp
|
|
StringConstructorCheck.cpp
|
|
StringIntegerAssignmentCheck.cpp
|
|
StringLiteralWithEmbeddedNulCheck.cpp
|
|
StringviewNullptrCheck.cpp
|
|
SuspiciousEnumUsageCheck.cpp
|
|
SuspiciousIncludeCheck.cpp
|
|
SuspiciousMemoryComparisonCheck.cpp
|
|
SuspiciousMemsetUsageCheck.cpp
|
|
SuspiciousMissingCommaCheck.cpp
|
|
SuspiciousSemicolonCheck.cpp
|
|
SuspiciousStringCompareCheck.cpp
|
|
SwappedArgumentsCheck.cpp
|
|
TerminatingContinueCheck.cpp
|
|
ThrowKeywordMissingCheck.cpp
|
|
TooSmallLoopVariableCheck.cpp
|
|
UndefinedMemoryManipulationCheck.cpp
|
|
UndelegatedConstructorCheck.cpp
|
|
UnhandledExceptionAtNewCheck.cpp
|
|
UnhandledSelfAssignmentCheck.cpp
|
|
UnusedRaiiCheck.cpp
|
|
UnusedReturnValueCheck.cpp
|
|
UseAfterMoveCheck.cpp
|
|
VirtualNearMissCheck.cpp
|
|
|
|
LINK_LIBS
|
|
clangTidy
|
|
clangTidyCppCoreGuidelinesModule
|
|
clangTidyUtils
|
|
|
|
DEPENDS
|
|
omp_gen
|
|
)
|
|
|
|
clang_target_link_libraries(clangTidyBugproneModule
|
|
PRIVATE
|
|
clangAnalysis
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangLex
|
|
clangTooling
|
|
clangTransformer
|
|
)
|