forked from OSchip/llvm-project
ec44ac6a59
Our one basic suppression heuristic is to assume that functions do not usually return NULL. However, when one of the arguments is NULL it is suddenly much more likely that NULL is a valid return value. In this case, we don't suppress the report here, but we do attach /another/ visitor to go find out if this NULL argument also comes from an inlined function's error path. This new behavior, controlled by the 'avoid-suppressing-null-argument-paths' analyzer-config option, is turned off by default. Turning it on produced two false positives and no new true positives when running over LLVM/Clang. This is one of the possible refinements to our suppression heuristics. <rdar://problem/12350829> llvm-svn: 166941 |
||
---|---|---|
.. | ||
DynDispatchBifurcate.m | ||
InlineObjCClassMethod.m | ||
InlineObjCInstanceMethod.h | ||
InlineObjCInstanceMethod.m | ||
ObjCDynTypePopagation.m | ||
ObjCImproperDynamictallyDetectableCast.m | ||
RetainCountExamples.m | ||
assume-super-init-does-not-return-nil.m | ||
dyn-dispatch-bifurcate.cpp | ||
eager-reclamation-path-notes.c | ||
false-positive-suppression.c | ||
path-notes.c | ||
path-notes.m | ||
retain-count-self-init.m | ||
stl.cpp | ||
test-always-inline-size-option.c | ||
test_objc_inlining_option.m |