2011-01-03 22:53:25 +08:00
|
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
|
|
|
|
set(LLVM_USED_LIBS clangBasic clangAST)
|
|
|
|
|
2010-12-24 03:38:26 +08:00
|
|
|
add_clang_library(clangStaticAnalyzerCheckers
|
2010-12-23 02:52:56 +08:00
|
|
|
AdjustedReturnValueChecker.cpp
|
2011-01-10 17:33:41 +08:00
|
|
|
AnalysisConsumer.cpp
|
2011-02-09 06:30:36 +08:00
|
|
|
AnalyzerStatsChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ArrayBoundChecker.cpp
|
2010-12-23 10:42:43 +08:00
|
|
|
ArrayBoundCheckerV2.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
AttrNonNullChecker.cpp
|
|
|
|
BasicObjCFoundationChecks.cpp
|
|
|
|
BuiltinFunctionChecker.cpp
|
2010-12-23 10:42:43 +08:00
|
|
|
CStringChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
CallAndMessageChecker.cpp
|
|
|
|
CastSizeChecker.cpp
|
|
|
|
CastToStructChecker.cpp
|
|
|
|
CheckObjCDealloc.cpp
|
|
|
|
CheckObjCInstMethSignature.cpp
|
|
|
|
CheckSecuritySyntaxOnly.cpp
|
|
|
|
CheckSizeofPointer.cpp
|
|
|
|
ChrootChecker.cpp
|
2011-01-14 04:58:59 +08:00
|
|
|
DeadStoresChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
DereferenceChecker.cpp
|
|
|
|
DivZeroChecker.cpp
|
2011-01-10 17:33:41 +08:00
|
|
|
ExprEngine.cpp
|
2011-02-09 06:30:15 +08:00
|
|
|
ExperimentalChecks.cpp
|
2010-12-23 04:30:07 +08:00
|
|
|
FixedAddressChecker.cpp
|
2010-12-23 05:41:01 +08:00
|
|
|
FrontendActions.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
IdempotentOperationChecker.cpp
|
|
|
|
LLVMConventionsChecker.cpp
|
|
|
|
MacOSXAPIChecker.cpp
|
|
|
|
MallocChecker.cpp
|
|
|
|
NSAutoreleasePoolChecker.cpp
|
|
|
|
NSErrorChecker.cpp
|
|
|
|
NoReturnFunctionChecker.cpp
|
|
|
|
OSAtomicChecker.cpp
|
|
|
|
ObjCAtSyncChecker.cpp
|
2011-01-12 03:45:25 +08:00
|
|
|
ObjCSelfInitChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ObjCUnusedIVarsChecker.cpp
|
|
|
|
PointerArithChecker.cpp
|
|
|
|
PointerSubChecker.cpp
|
|
|
|
PthreadLockChecker.cpp
|
|
|
|
ReturnPointerRangeChecker.cpp
|
|
|
|
ReturnUndefChecker.cpp
|
|
|
|
StackAddrLeakChecker.cpp
|
|
|
|
StreamChecker.cpp
|
|
|
|
UndefBranchChecker.cpp
|
|
|
|
UndefCapturedBlockVarChecker.cpp
|
|
|
|
UndefResultChecker.cpp
|
|
|
|
UndefinedArraySubscriptChecker.cpp
|
|
|
|
UndefinedAssignmentChecker.cpp
|
|
|
|
UnixAPIChecker.cpp
|
|
|
|
UnreachableCodeChecker.cpp
|
|
|
|
VLASizeChecker.cpp
|
|
|
|
)
|
|
|
|
|
2010-12-24 03:38:26 +08:00
|
|
|
add_dependencies(clangStaticAnalyzerCore ClangAttrClasses ClangAttrList ClangDeclNodes
|
2010-12-23 02:52:56 +08:00
|
|
|
ClangStmtNodes)
|