Objective-C: This patch fixes a none-issuance of warning
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 9 Apr 2013 17:52:29 +0000 (17:52 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 9 Apr 2013 17:52:29 +0000 (17:52 +0000)
commitada44a206323401dcd33af66fcda23d2915f416d
treec4b913400e767989a760de368846d73ea47dfc3b
parentb67cc423ebe622fc278a197696a696d2264b0d3b
Objective-C: This patch fixes a none-issuance of warning
when result type of protocol property and getter method
differ by fixing a more serious problem. When a forward
protocol declaration comes between its definition and
its use in class protocol list, the forward protocol
ast was being used in building the protocol list.
// rdar://12522752

llvm-svn: 179108
clang/lib/Sema/SemaDeclObjC.cpp
clang/test/SemaObjC/method-conflict-2.m