forked from OSchip/llvm-project
95 lines
2.2 KiB
CMake
95 lines
2.2 KiB
CMake
clang_tablegen(Checkers.inc -gen-clang-sa-checkers
|
|
-I ${CMAKE_CURRENT_SOURCE_DIR}/../../../include
|
|
SOURCE Checkers.td
|
|
TARGET ClangSACheckers)
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_library(clangStaticAnalyzerCheckers
|
|
AllocationDiagnostics.cpp
|
|
AnalyzerStatsChecker.cpp
|
|
ArrayBoundChecker.cpp
|
|
ArrayBoundCheckerV2.cpp
|
|
BasicObjCFoundationChecks.cpp
|
|
BoolAssignmentChecker.cpp
|
|
BuiltinFunctionChecker.cpp
|
|
CStringChecker.cpp
|
|
CStringSyntaxChecker.cpp
|
|
CallAndMessageChecker.cpp
|
|
CastSizeChecker.cpp
|
|
CastToStructChecker.cpp
|
|
CheckObjCDealloc.cpp
|
|
CheckObjCInstMethSignature.cpp
|
|
CheckSecuritySyntaxOnly.cpp
|
|
CheckSizeofPointer.cpp
|
|
CheckerDocumentation.cpp
|
|
ChrootChecker.cpp
|
|
ClangCheckers.cpp
|
|
DeadStoresChecker.cpp
|
|
DebugCheckers.cpp
|
|
DereferenceChecker.cpp
|
|
DirectIvarAssignment.cpp
|
|
DivZeroChecker.cpp
|
|
DynamicTypePropagation.cpp
|
|
DynamicTypeChecker.cpp
|
|
ExprInspectionChecker.cpp
|
|
FixedAddressChecker.cpp
|
|
GenericTaintChecker.cpp
|
|
IdenticalExprChecker.cpp
|
|
IvarInvalidationChecker.cpp
|
|
LLVMConventionsChecker.cpp
|
|
LocalizationChecker.cpp
|
|
MacOSKeychainAPIChecker.cpp
|
|
MacOSXAPIChecker.cpp
|
|
MallocChecker.cpp
|
|
MallocOverflowSecurityChecker.cpp
|
|
MallocSizeofChecker.cpp
|
|
NSAutoreleasePoolChecker.cpp
|
|
NSErrorChecker.cpp
|
|
NoReturnFunctionChecker.cpp
|
|
NonNullParamChecker.cpp
|
|
NullabilityChecker.cpp
|
|
ObjCAtSyncChecker.cpp
|
|
ObjCContainersASTChecker.cpp
|
|
ObjCContainersChecker.cpp
|
|
ObjCMissingSuperCallChecker.cpp
|
|
ObjCSelfInitChecker.cpp
|
|
ObjCSuperDeallocChecker.cpp
|
|
ObjCUnusedIVarsChecker.cpp
|
|
PaddingChecker.cpp
|
|
PointerArithChecker.cpp
|
|
PointerSubChecker.cpp
|
|
PthreadLockChecker.cpp
|
|
RetainCountChecker.cpp
|
|
ReturnPointerRangeChecker.cpp
|
|
ReturnUndefChecker.cpp
|
|
SimpleStreamChecker.cpp
|
|
StackAddrEscapeChecker.cpp
|
|
StreamChecker.cpp
|
|
TaintTesterChecker.cpp
|
|
TestAfterDivZeroChecker.cpp
|
|
TraversalChecker.cpp
|
|
UndefBranchChecker.cpp
|
|
UndefCapturedBlockVarChecker.cpp
|
|
UndefResultChecker.cpp
|
|
UndefinedArraySubscriptChecker.cpp
|
|
UndefinedAssignmentChecker.cpp
|
|
UnixAPIChecker.cpp
|
|
UnreachableCodeChecker.cpp
|
|
VforkChecker.cpp
|
|
VLASizeChecker.cpp
|
|
VirtualCallChecker.cpp
|
|
|
|
DEPENDS
|
|
ClangSACheckers
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangAnalysis
|
|
clangBasic
|
|
clangLex
|
|
clangStaticAnalyzerCore
|
|
)
|