Module: for ObjectiveC, be consistent when checking hidden decls.
authorManman Ren <manman.ren@gmail.com>
Tue, 11 Oct 2016 21:18:20 +0000 (21:18 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 11 Oct 2016 21:18:20 +0000 (21:18 +0000)
commita58f92f09d217ca978621ccfa630474f919345a3
tree33289c790b6a41901c9896b9eb363d6882b26e19
parentbdfc05ff93fe03edb6d6817384ecf31f723acd7a
Module: for ObjectiveC, be consistent when checking hidden decls.

In MatchAllMethodDeclarations, when checking a hidden decl, be sure
to allow hidden when searching for methods.

rdar://28699972

llvm-svn: 283943
clang/lib/Sema/SemaDeclObjC.cpp
clang/test/Modules/Inputs/objc-hidden/FakeUnavailableObjCFramework.framework/Headers/FakeUnavailableObjCFramework.h [new file with mode: 0644]
clang/test/Modules/Inputs/objc-hidden/FakeUnavailableObjCFramework.framework/Modules/module.modulemap [new file with mode: 0644]
clang/test/Modules/Inputs/objc-hidden/System/X.h [new file with mode: 0644]
clang/test/Modules/Inputs/objc-hidden/System/module.map [new file with mode: 0644]
clang/test/Modules/objc-hidden.m [new file with mode: 0644]