]> granicus.if.org Git - clang/commit
objcetive-c-arc: When overriding a method, its ns_consumed patameter
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 27 Sep 2011 22:35:36 +0000 (22:35 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 27 Sep 2011 22:35:36 +0000 (22:35 +0000)
commit3240fe3b715327c8fda6f5a3bc8a092b1fce82a7
treea87d63f3a1eec6a94408f52bb54908cb533d554c
parent7e5f112ca7410af93c7cdc07cf3a9dae15214300
objcetive-c-arc: When overriding a method, its ns_consumed patameter
attribute must match its overriden method. Same also for
ns_returns_retained/not_retained on the result type.
This is one half of // rdar://10187884

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140649 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/arc-decls.m