Lines Matching defs:Loc
190 SourceLocation Loc = nameInfo.getLoc();
191 SourceRange Range(Loc);
198 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method)
204 SemaRef.Diag(Loc, diag::err_invalid_non_static_member_use)
209 SemaRef.Diag(Loc, diag::err_member_call_without_object) << Range;
661 SourceLocation loc,
683 DeclarationNameInfo baseNameInfo(DeclarationName(), loc);
717 Diag(loc, diag::err_invalid_member_use_in_static_method)
724 = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/ true);
743 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc);
760 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc);
868 SourceLocation Loc = R.getNameLoc();
870 Loc = SS.getRange().getBegin();
871 BaseExpr = new (Context) CXXThisExpr(Loc, BaseExprType,/*isImplicit=*/true);
1585 SourceLocation loc = R.getNameLoc();
1601 SourceLocation Loc = R.getNameLoc();
1603 Loc = SS.getRange().getBegin();
1604 baseExpr = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/true);