Skip to content

Commit 1a98751

Browse files
committed
Fix documentation
1 parent e9643fa commit 1a98751

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
@@ -3669,7 +3669,7 @@ Here are some examples of situations that we warn about as they *might* be poten
36693669
}
36703670
36713671
alpha.webkit.UnretainedLocalVarsChecker
3672-
""""""""""""""""""""""""""""""""""""""
3672+
"""""""""""""""""""""""""""""""""""""""
36733673
The goal of this rule is to make sure that any NS or CF local variable is backed by a RetainPtr with lifetime that is strictly larger than the scope of the unretained local variable. To be on the safe side we require the scope of an unretained variable to be embedded in the scope of Retainptr object that backs it.
36743674
36753675
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)