[PATCH] D82611: [SemaObjC] Add a warning for @selector expressions that potentially refer to objc_direct methods
Pierre Habouzit via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 6 18:04:18 PDT 2020
MadCoder added a comment.
In D82611#2133521 <https://reviews.llvm.org/D82611#2133521>, @erik.pilkington wrote:
> In D82611#2125868 <https://reviews.llvm.org/D82611#2125868>, @MadCoder wrote:
>
> >
>
>> I would suggest something like `-Wstrict-direct-dispatch` or something.
>
> I kinda prefer `-Wpotentially-direct-selector`, since that seems to more closely correspond to what the compiler is complaining about. WDYT?
Yes, that is better, I wasn't dead-set on the name.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82611/new/
https://reviews.llvm.org/D82611
More information about the cfe-commits
mailing list