Lines Matching refs:MemberLoc

963   SourceLocation MemberLoc = MemberNameInfo.getLoc();  in BuildMemberReferenceExpr()  local
1071 if (ShouldCheckUse && DiagnoseUseOfDecl(MemberDecl, MemberLoc)) in BuildMemberReferenceExpr()
1085 return BuildAnonymousStructUnionMemberReference(SS, MemberLoc, FD, in BuildMemberReferenceExpr()
1121 Diag(MemberLoc, diag::err_typecheck_member_reference_type) in BuildMemberReferenceExpr()
1124 Diag(MemberLoc, diag::err_typecheck_member_reference_unknown) in BuildMemberReferenceExpr()
1208 SourceLocation MemberLoc = R.getNameLoc(); in LookupMemberExpr() local
1237 S.Diag(MemberLoc, diag::err_typecheck_member_reference_arrow) in LookupMemberExpr()
1281 return new (S.Context) ObjCIsaExpr(BaseExpr.get(), IsArrow, MemberLoc, in LookupMemberExpr()
1318 S.Diag(MemberLoc, diag::err_property_found_suggest) in LookupMemberExpr()
1324 S.Diag(MemberLoc, diag::err_typecheck_member_reference_ivar) in LookupMemberExpr()
1340 if (S.DiagnoseUseOfDecl(IV, MemberLoc)) in LookupMemberExpr()
1365 S.Diag(MemberLoc, diag::error_private_ivar_access) in LookupMemberExpr()
1369 S.Diag(MemberLoc, diag::error_protected_ivar_access) in LookupMemberExpr()
1394 S.Diag(MemberLoc, diag::warn_direct_ivar_access) << IV->getDeclName(); in LookupMemberExpr()
1398 IV, IV->getType(), MemberLoc, OpLoc, BaseExpr.get(), IsArrow); in LookupMemberExpr()
1402 if (!S.Diags.isIgnored(diag::warn_arc_repeated_use_of_weak, MemberLoc)) in LookupMemberExpr()
1439 if (S.DiagnoseUseOfDecl(PD, MemberLoc)) in LookupMemberExpr()
1444 OK_ObjCProperty, MemberLoc, BaseExpr.get()); in LookupMemberExpr()
1449 if (S.DiagnoseUseOfDecl(OMD, MemberLoc)) in LookupMemberExpr()
1463 OK_ObjCProperty, MemberLoc, BaseExpr.get()); in LookupMemberExpr()
1472 return ExprError(S.Diag(MemberLoc, diag::err_property_not_found) in LookupMemberExpr()
1494 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1511 if (Setter && S.DiagnoseUseOfDecl(Setter, MemberLoc)) in LookupMemberExpr()
1517 OK_ObjCProperty, MemberLoc, BaseExpr.get()); in LookupMemberExpr()
1524 return ExprError(S.Diag(MemberLoc, diag::err_property_not_found) in LookupMemberExpr()
1530 MemberLoc, SourceLocation(), QualType(), in LookupMemberExpr()
1548 Member, MemberLoc); in LookupMemberExpr()
1553 ExtVectorElementExpr(ret, VK, BaseExpr.get(), *Member, MemberLoc); in LookupMemberExpr()
1604 << BaseType << BaseExpr.get()->getSourceRange() << MemberLoc; in LookupMemberExpr()