]> granicus.if.org Git - clang/commit
Use Decl::getAvailability() rather than checking for the "unavailable"
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Jan 2013 18:16:18 +0000 (18:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Jan 2013 18:16:18 +0000 (18:16 +0000)
commit7cdc45751cb5b200ad5fff0de28c5d1a64b6fce3
treea753f12ad3b68ba8ae3350c31a051f41a9896eaf
parentcf4a79c3ec035521170d1913b7918a2f962118e1
Use Decl::getAvailability() rather than checking for the "unavailable"
attribute when determining whether we need to see an implementation of
a property. Fixes <rdar://problem/12958191>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171877 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaObjCProperty.cpp
test/SemaObjC/no-warning-unavail-unimp.m