Re: r307175 - [Sema] Don't allow -Wunguarded-availability to be silenced with redecls

2017-07-06 Thread Nico Weber via cfe-commits
Thanks for the fast reply! On Jul 6, 2017 11:42 PM, "Erik Pilkington" wrote: On 7/6/17 2:12 PM, Nico Weber wrote: We currently rely on this for chromium; that's how the warning used to work when I added it. What's the transition plan? Can we have a flag to

Re: r307175 - [Sema] Don't allow -Wunguarded-availability to be silenced with redecls

2017-07-06 Thread Erik Pilkington via cfe-commits
On 7/6/17 2:12 PM, Nico Weber wrote: We currently rely on this for chromium; that's how the warning used to work when I added it. What's the transition plan? Can we have a flag to incrementally transition to whatever the new way is? (Is it documented anywhere?) We currently have

Re: r307175 - [Sema] Don't allow -Wunguarded-availability to be silenced with redecls

2017-07-06 Thread Nico Weber via cfe-commits
We currently rely on this for chromium; that's how the warning used to work when I added it. What's the transition plan? Can we have a flag to incrementally transition to whatever the new way is? (Is it documented anywhere?) Also, I think the replacement somehow needs the new runtime stuff from

r307175 - [Sema] Don't allow -Wunguarded-availability to be silenced with redecls

2017-07-05 Thread Erik Pilkington via cfe-commits
Author: epilk Date: Wed Jul 5 10:08:56 2017 New Revision: 307175 URL: http://llvm.org/viewvc/llvm-project?rev=307175=rev Log: [Sema] Don't allow -Wunguarded-availability to be silenced with redecls Differential revision: https://reviews.llvm.org/D33816 Modified: