]> granicus.if.org Git - clang/commit
Fix regression from llvm-gcc where we should NOT emit a warning about __attribute__...
authorTed Kremenek <kremenek@apple.com>
Thu, 1 Mar 2012 01:40:32 +0000 (01:40 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 1 Mar 2012 01:40:32 +0000 (01:40 +0000)
commitf6e88d7592a5b5ab19890a41ff71f5bf8ca2a9fa
treeb167c863811ee74f714b218ed10c06598b84d0e6
parent3edf02f66d339a3ae6d06aeb96c78d9089b53bc1
Fix regression from llvm-gcc where we should NOT emit a warning about __attribute__((NSObject)) on a property declaration.  This is needed to have retain properties for non-object pointers.  Fixes <rdar://problem/10930507>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151786 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/SemaObjC/nsobject-attribute.m