You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
772 B
26 lines
772 B
3 years ago
|
---
|
||
|
title: "Self in Block"
|
||
|
description: "An Objective-C-specific analysis to detect when a block captures `self`."
|
||
|
---
|
||
|
|
||
|
An Objective-C-specific analysis to detect when a block captures `self`.
|
||
|
|
||
|
Activate with `--self-in-block`.
|
||
|
|
||
|
Supported languages:
|
||
|
- C/C++/ObjC: Yes
|
||
|
- C#/.Net: No
|
||
|
- Erlang: No
|
||
|
- Java: No
|
||
|
|
||
|
|
||
|
|
||
|
## List of Issue Types
|
||
|
|
||
|
The following issue types are reported by this checker:
|
||
|
- [CAPTURED_STRONG_SELF](/docs/next/all-issue-types#captured_strong_self)
|
||
|
- [MIXED_SELF_WEAKSELF](/docs/next/all-issue-types#mixed_self_weakself)
|
||
|
- [MULTIPLE_WEAKSELF](/docs/next/all-issue-types#multiple_weakself)
|
||
|
- [STRONG_SELF_NOT_CHECKED](/docs/next/all-issue-types#strong_self_not_checked)
|
||
|
- [WEAK_SELF_IN_NO_ESCAPE_BLOCK](/docs/next/all-issue-types#weak_self_in_no_escape_block)
|