forked from OSchip/llvm-project
parent
11b4463a94
commit
ae6b9d2de3
|
@ -1137,7 +1137,7 @@ Sema::LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr,
|
|||
goto fail;
|
||||
// There's an implicit 'isa' ivar on all objects.
|
||||
// But we only actually find it this way on objects of type 'id',
|
||||
// apparently.ghjg
|
||||
// apparently.
|
||||
if (OTy->isObjCId() && Member->isStr("isa")) {
|
||||
Diag(MemberLoc, diag::warn_objc_isa_use);
|
||||
return Owned(new (Context) ObjCIsaExpr(BaseExpr.take(), IsArrow, MemberLoc,
|
||||
|
|
Loading…
Reference in New Issue