2010-01-25 12:41:41 +08:00
|
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
|
|
|
|
add_clang_library(clangChecker
|
2010-02-04 08:47:48 +08:00
|
|
|
AdjustedReturnValueChecker.cpp
|
2010-03-23 16:14:19 +08:00
|
|
|
AggExprVisitor.cpp
|
2010-06-16 01:48:49 +08:00
|
|
|
AnalysisConsumer.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
ArrayBoundChecker.cpp
|
|
|
|
AttrNonNullChecker.cpp
|
|
|
|
BasicConstraintManager.cpp
|
|
|
|
BasicObjCFoundationChecks.cpp
|
|
|
|
BasicStore.cpp
|
|
|
|
BasicValueFactory.cpp
|
|
|
|
BugReporter.cpp
|
|
|
|
BugReporterVisitors.cpp
|
|
|
|
BuiltinFunctionChecker.cpp
|
|
|
|
CallAndMessageChecker.cpp
|
|
|
|
CallInliner.cpp
|
2010-05-25 12:59:19 +08:00
|
|
|
CastSizeChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
CastToStructChecker.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
CFRefCount.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
CheckDeadStores.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
Checker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
CheckObjCDealloc.cpp
|
|
|
|
CheckObjCInstMethSignature.cpp
|
|
|
|
CheckSecuritySyntaxOnly.cpp
|
|
|
|
CheckSizeofPointer.cpp
|
2010-01-27 14:14:12 +08:00
|
|
|
CocoaConventions.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
DereferenceChecker.cpp
|
|
|
|
DivZeroChecker.cpp
|
|
|
|
Environment.cpp
|
|
|
|
ExplodedGraph.cpp
|
|
|
|
FixedAddressChecker.cpp
|
2010-02-04 08:47:48 +08:00
|
|
|
FlatStore.cpp
|
2010-06-16 01:48:49 +08:00
|
|
|
FrontendActions.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
GRBlockCounter.cpp
|
|
|
|
GRCoreEngine.cpp
|
2010-04-19 20:51:02 +08:00
|
|
|
GRCXXExprEngine.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
GRExprEngine.cpp
|
|
|
|
GRExprEngineExperimentalChecks.cpp
|
|
|
|
GRState.cpp
|
2010-06-16 01:48:49 +08:00
|
|
|
HTMLDiagnostics.cpp
|
2010-02-14 10:45:18 +08:00
|
|
|
LLVMConventionsChecker.cpp
|
2010-02-25 13:44:09 +08:00
|
|
|
MacOSXAPIChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
MallocChecker.cpp
|
|
|
|
ManagerRegistry.cpp
|
|
|
|
MemRegion.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
NoReturnFunctionChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
NSAutoreleasePoolChecker.cpp
|
|
|
|
NSErrorChecker.cpp
|
2010-02-25 11:26:55 +08:00
|
|
|
ObjCUnusedIVarsChecker.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
OSAtomicChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
PathDiagnostic.cpp
|
2010-06-16 01:48:49 +08:00
|
|
|
PlistDiagnostics.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
PointerArithChecker.cpp
|
|
|
|
PointerSubChecker.cpp
|
|
|
|
PthreadLockChecker.cpp
|
|
|
|
RangeConstraintManager.cpp
|
|
|
|
RegionStore.cpp
|
|
|
|
ReturnPointerRangeChecker.cpp
|
|
|
|
ReturnUndefChecker.cpp
|
|
|
|
SimpleConstraintManager.cpp
|
|
|
|
SimpleSValuator.cpp
|
2010-06-08 18:00:00 +08:00
|
|
|
StackAddrLeakChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
Store.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
SVals.cpp
|
|
|
|
SValuator.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
SymbolManager.cpp
|
|
|
|
UndefBranchChecker.cpp
|
2010-02-16 16:33:59 +08:00
|
|
|
UndefCapturedBlockVarChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
UndefinedArraySubscriptChecker.cpp
|
|
|
|
UndefinedAssignmentChecker.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
UndefResultChecker.cpp
|
2010-02-25 08:20:35 +08:00
|
|
|
UnixAPIChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
ValueManager.cpp
|
2010-03-23 02:16:06 +08:00
|
|
|
VLASizeChecker.cpp
|
2010-01-25 12:41:41 +08:00
|
|
|
)
|
2010-05-05 13:41:05 +08:00
|
|
|
|
2010-05-30 15:21:58 +08:00
|
|
|
add_dependencies(clangChecker ClangDeclNodes ClangStmtNodes)
|