forked from OSchip/llvm-project
parent
b8482c5d5d
commit
10cbe66f17
|
@ -392,7 +392,6 @@ Sema::ExprResult Sema::ActOnInstanceMessage(ExprTy *receiver, Selector Sel,
|
||||||
// long as one of the protocols implements the selector (if not, warn).
|
// long as one of the protocols implements the selector (if not, warn).
|
||||||
if (ObjCQualifiedIdType *QIT = dyn_cast<ObjCQualifiedIdType>(ReceiverCType)) {
|
if (ObjCQualifiedIdType *QIT = dyn_cast<ObjCQualifiedIdType>(ReceiverCType)) {
|
||||||
// Search protocols for instance methods.
|
// Search protocols for instance methods.
|
||||||
ReceiverCType.dump();
|
|
||||||
for (unsigned i = 0; i < QIT->getNumProtocols(); i++) {
|
for (unsigned i = 0; i < QIT->getNumProtocols(); i++) {
|
||||||
ObjCProtocolDecl *PDecl = QIT->getProtocols(i);
|
ObjCProtocolDecl *PDecl = QIT->getProtocols(i);
|
||||||
if (PDecl && (Method = PDecl->lookupInstanceMethod(Sel)))
|
if (PDecl && (Method = PDecl->lookupInstanceMethod(Sel)))
|
||||||
|
|
Loading…
Reference in New Issue