Skip to content

Commit ab640f7

Browse files
committed
Fix documentation
1 parent ceeba57 commit ab640f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/docs/analyzer/checkers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3583,7 +3583,7 @@ The goal of this rule is to make sure that lifetime of any dynamically allocated
35833583
The rules of when to use and not to use CheckedPtr / CheckedRef are same as alpha.webkit.UncountedCallArgsChecker for ref-counted objects.
35843584
35853585
alpha.webkit.UnretainedCallArgsChecker
3586-
"""""""""""""""""""""""""""""""""""""
3586+
""""""""""""""""""""""""""""""""""""""
35873587
The goal of this rule is to make sure that lifetime of any dynamically allocated NS or CF objects passed as a call argument keeps its memory region past the end of the call. This applies to call to any function, method, lambda, function pointer or functor. NS or CF objects aren't supposed to be allocated on stack so we check arguments for parameters of raw pointers and references to unretained types.
35883588
35893589
The rules of when to use and not to use RetainPtr are same as alpha.webkit.UncountedCallArgsChecker for ref-counted objects.

0 commit comments

Comments
 (0)