Lines Matching full:loc
202 SourceLocation Loc = nameInfo.getLoc();
203 SourceRange Range(Loc);
216 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method)
222 SemaRef.Diag(Loc, diag::err_nested_non_static_member_use)
225 SemaRef.Diag(Loc, diag::err_invalid_non_static_member_use)
228 SemaRef.Diag(Loc, diag::err_member_call_without_object)
723 SourceLocation loc,
746 DeclarationNameInfo baseNameInfo(DeclarationName(), loc);
780 Diag(loc, diag::err_invalid_member_use_in_static_method)
786 CheckCXXThisCapture(loc);
788 = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/ true);
804 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc);
824 DeclarationNameInfo memberNameInfo(field->getDeclName(), loc);
981 SourceLocation Loc = R.getNameLoc();
983 Loc = SS.getRange().getBegin();
984 CheckCXXThisCapture(Loc);
985 BaseExpr = new (Context) CXXThisExpr(Loc, BaseExprType,/*isImplicit=*/true);
1705 SourceLocation loc = R.getNameLoc();
1722 SourceLocation Loc = R.getNameLoc();
1724 Loc = SS.getRange().getBegin();
1725 CheckCXXThisCapture(Loc);
1726 baseExpr = new (Context) CXXThisExpr(loc, ThisTy, /*isImplicit=*/true);