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).
|
||||
if (ObjCQualifiedIdType *QIT = dyn_cast<ObjCQualifiedIdType>(ReceiverCType)) {
|
||||
// Search protocols for instance methods.
|
||||
ReceiverCType.dump();
|
||||
for (unsigned i = 0; i < QIT->getNumProtocols(); i++) {
|
||||
ObjCProtocolDecl *PDecl = QIT->getProtocols(i);
|
||||
if (PDecl && (Method = PDecl->lookupInstanceMethod(Sel)))
|
||||
|
|
Loading…
Reference in New Issue