]> granicus.if.org Git - clang/commit
[Sema][ObjC] Look for either objc_bridge or objc_bridge_mutable when
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 24 Oct 2017 23:38:14 +0000 (23:38 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 24 Oct 2017 23:38:14 +0000 (23:38 +0000)
commitb7b9efb69316b7e4414c6300d7a651b1117fb8ae
treed30e8a47a040cb3fef8dfdd29c0c06550bd9fcf8
parent5c484035ac41e9af5907ec574faa6e8c43cc00a2
[Sema][ObjC] Look for either objc_bridge or objc_bridge_mutable when
determining whether a RecordDecl is CFError.

CFErrorRef used to be declared with "objc_bridge(NSError)" but is now
declared with "objc_bridge_mutable(NSError)". Look for either when
checking whether a RecordDecl is CFError.

rdar://problem/35034779

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316531 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/SemaObjCXX/Inputs/nullability-completeness-cferror.h [new file with mode: 0644]
test/SemaObjCXX/nullability-completeness-cferror.mm [new file with mode: 0644]