Implement another property related FIXME:
Fix <rdar://problem/5967199> clang on xcode: error: member reference is not to a structure or union llvm-svn: 51919
This commit is contained in:
parent
149614bfe7
commit
13c360cec4
|
@ -638,7 +638,9 @@ ActOnMemberReferenceExpr(ExprTy *Base, SourceLocation OpLoc,
|
|||
// @end
|
||||
// void someMethod() { frameworkBundle.bundlePath = 0; }
|
||||
//
|
||||
// FIXME: lookup explicit properties...
|
||||
ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(&Member);
|
||||
if (PD)
|
||||
return new ObjCPropertyRefExpr(PD, PD->getType(), MemberLoc, BaseExpr);
|
||||
}
|
||||
}
|
||||
return Diag(OpLoc, diag::err_typecheck_member_reference_structUnion,
|
||||
|
|
Loading…
Reference in New Issue