mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 15:58:57 -04:00

Summary: Check for classes that violate the rule of five and zero as specified in CppCoreGuidelines: "If a class defines or deletes a default operation then it should define or delete them all." https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c21-if-you-define-or-delete-any-default-operation-define-or-delete-them-all. Reviewers: alexfh, sbenza, aaron.ballman Subscribers: Prazek, Eugene.Zelenko, cfe-commits, ericLemanissier, nemanjai Projects: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D22513 llvm-svn: 277262
29 lines
671 B
CMake
29 lines
671 B
CMake
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
add_clang_library(clangTidyCppCoreGuidelinesModule
|
|
CppCoreGuidelinesTidyModule.cpp
|
|
InterfacesGlobalInitCheck.cpp
|
|
ProBoundsArrayToPointerDecayCheck.cpp
|
|
ProBoundsConstantArrayIndexCheck.cpp
|
|
ProBoundsPointerArithmeticCheck.cpp
|
|
ProTypeConstCastCheck.cpp
|
|
ProTypeCstyleCastCheck.cpp
|
|
ProTypeMemberInitCheck.cpp
|
|
ProTypeReinterpretCastCheck.cpp
|
|
ProTypeStaticCastDowncastCheck.cpp
|
|
ProTypeUnionAccessCheck.cpp
|
|
ProTypeVarargCheck.cpp
|
|
SpecialMemberFunctionsCheck.cpp
|
|
SlicingCheck.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangLex
|
|
clangTidy
|
|
clangTidyMiscModule
|
|
clangTidyUtils
|
|
clangTooling
|
|
)
|