[CodeCompletion] Show protocol properties that are accessed through qualified id
authorAlex Lorenz <arphaman@gmail.com>
Wed, 12 Oct 2016 11:40:15 +0000 (11:40 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 12 Oct 2016 11:40:15 +0000 (11:40 +0000)
commit06cfa99268ecab69900300c237e010d01a0db881
tree0f444c94eb0b955d3fa9bed3731feec07efee192
parenta9fcc1d2a437e75907572c5a765a933e679ae5a9
[CodeCompletion] Show protocol properties that are accessed through qualified id

This commit improves code completion for properties that are declared in
Objective-C protocols by making sure that properties show up in completions
when they are accessed through a qualified id.

rdar://24426041

Differential Revision: https://reviews.llvm.org/D25436

llvm-svn: 284007
clang/lib/Sema/SemaCodeComplete.cpp
clang/test/CodeCompletion/objc-protocol-member-access.m [new file with mode: 0644]