[PATCH] D23003: [ObjC Availability] Warn upon unguarded use of partially available declaration

Erik Pilkington via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 09:01:24 PDT 2016


Hi Nico,
All that is left for the diagnostic to make sense it CodeGen support for @available, which is something I’m working on now. I should have a patch up for it in a couple days. I suppose it was a mistake to mention upgrading to something that doesn’t work yet, if this is an inconvenience for you I would be happy to temporarily remove that note!

Thanks for pinging, and sorry for any confusion that I caused,
Erik

> On Oct 26, 2016, at 11:44 AM, Nico Weber <thakis at chromium.org> wrote:
> 
> thakis added a comment.
> 
> Erik, are you planning on adding the later phases soon? At the moment, due to this patch, clang emits "enclose 'setAllowsAutomaticWindowTabbing:' in an @available check to silence this warning" but then errors out when trying to use @available. This is proving to be confusing to folks :-)
> 
> 
> Repository:
>  rL LLVM
> 
> https://reviews.llvm.org/D23003
> 
> 
> 



More information about the cfe-commits mailing list