These extend the class, but (unlike methods in @interfaces) can be referenced without mentioning the the category, so we don't otherwise emit a diagnostic.
rdar://51318091
Paths
| Differential D63176
[SemaObjC] Infer availability of stuff declared in categories from the availability of the enclosing category Needs ReviewPublic Authored by erik.pilkington on Jun 11 2019, 5:01 PM.
Details
Diff Detail Event Timeline
Revision Contents
Diff 204193 clang/lib/Sema/SemaDeclAttr.cpp
clang/test/SemaObjC/unguarded-availability.m
|
Can't we just fix it here with a more contextual message? It would be nice to say enclosing category has been marked...