This revision was automatically updated to reflect the committed changes.
Closed by commit rC333148: [Sema][ObjC] Do not DiagnoseUseOfDecl in
LookupMemberExpr (authored by steven_wu, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D47280?vs=148279&id=148327#toc
Repository:
arphaman accepted this revision.
arphaman added a comment.
This revision is now accepted and ready to land.
LGTM.
Repository:
rC Clang
https://reviews.llvm.org/D47280
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/c
steven_wu created this revision.
steven_wu added reviewers: erik.pilkington, arphaman, doug.gregor.
Remove the call to DiagnoseUseOfDecl in LookupMemberExpr because:
1. LookupMemberExpr eagerly lookup both getter and setter, reguardless
if they are used or not. It causes wrong diagnostics if you