Skip to content
Commit 7596d3c5 authored by Pierre Habouzit's avatar Pierre Habouzit
Browse files

[objc_direct] Allow for direct messages be sent to `self` when it is a Class



Sending a message to `self` when it is const and within a class method
is safe because we know that `self` is the Class itself.

We can only relax this warning in ARC.

Signed-off-by: default avatarPierre Habouzit <phabouzit@apple.com>
Radar-Id: rdar://problem/58581965
Differential Revision: https://reviews.llvm.org/D72747
parent a50567a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment