Lines Matching refs:RangeLoc
2188 SourceLocation RangeLoc = Range->getBeginLoc(); in ActOnCXXForRangeStmt() local
2189 VarDecl *RangeVar = BuildForRangeVarDecl(*this, RangeLoc, in ActOnCXXForRangeStmt()
2192 if (FinishForRangeVarDecl(*this, RangeVar, Range, RangeLoc, in ActOnCXXForRangeStmt()
2201 StmtResult RangeDecl = ActOnDeclStmt(RangeGroup, RangeLoc, RangeLoc); in ActOnCXXForRangeStmt()
2370 SourceLocation RangeLoc, in RebuildForRangeWithDereference() argument
2378 AdjustedRange = SemaRef.BuildUnaryOp(S, RangeLoc, UO_Deref, Range); in RebuildForRangeWithDereference()
2392 SemaRef.Diag(RangeLoc, diag::err_for_range_dereference) in RebuildForRangeWithDereference()
2393 << Range->getType() << FixItHint::CreateInsertion(RangeLoc, "*"); in RebuildForRangeWithDereference()
2442 SourceLocation RangeLoc = RangeVar->getLocation(); in BuildCXXForRangeStmt() local
2462 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt()
2499 Context, CAT->getSize(), Context.getPointerDiffType(), RangeLoc); in BuildCXXForRangeStmt()
2528 VAT->desugar(), RangeLoc)) in BuildCXXForRangeStmt()
2539 VAT->getElementType(), RangeLoc)) in BuildCXXForRangeStmt()
2568 OverloadCandidateSet CandidateSet(RangeLoc, in BuildCXXForRangeStmt()
2586 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
2598 Range, RangeLoc, in BuildCXXForRangeStmt()
2610 << RangeLoc << Range->getType() in BuildCXXForRangeStmt()
2626 Diag(RangeLoc, getLangOpts().CPlusPlus17 in BuildCXXForRangeStmt()
2659 Diag(RangeLoc, diag::note_for_range_invalid_iterator) in BuildCXXForRangeStmt()
2660 << RangeLoc << 0 << BeginRangeRef.get()->getType(); in BuildCXXForRangeStmt()
2682 Diag(RangeLoc, diag::note_for_range_invalid_iterator) in BuildCXXForRangeStmt()
2683 << RangeLoc << 2 << BeginRangeRef.get()->getType() ; in BuildCXXForRangeStmt()
2696 Diag(RangeLoc, diag::note_for_range_invalid_iterator) in BuildCXXForRangeStmt()
2697 << RangeLoc << 1 << BeginRangeRef.get()->getType(); in BuildCXXForRangeStmt()