[cfe-commits] r172567 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclAttr.cpp lib/Sema/SemaDeclObjC.cpp test/SemaObjC/attr-availability.m
Douglas Gregor
dgregor at apple.com
Tue Jan 15 17:13:10 PST 2013
On Jan 15, 2013, at 5:00 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Wed, Jan 16, 2013 at 12:43 AM, Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Tue Jan 15 16:43:08 2013
>> New Revision: 172567
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=172567&view=rev
>> Log:
>> When checking availability attributes for consistency between an
>> overriding and overridden method, allow the overridden method to have
>> a narrower contract (introduced earlier, deprecated/obsoleted later)
>> than the overriding method. Fixes <rdar://problem/12992023>.
>
> Could you add a short paragraph about this new overriding behavior to
> docs/LanguageExtensions.rst?
Sure, r172587.
- Doug
More information about the cfe-commits
mailing list