Lines Matching defs:Loc
96 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) {
97 return Diags.Report(Loc, DiagID);
107 /// \param Loc The location where we'll emit the diagnostic.
108 /// \param Loc The kind of diagnostic to emit.
110 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK,
116 Diag(Loc, DK);
120 Diag(Loc, DK)
175 SourceLocation Loc = Tok.getLocation();
176 Diag(Loc, DiagID)
178 << FixItHint::CreateReplacement(SourceRange(Loc),
1124 SourceLocation Loc = ConsumeToken();
1128 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc),
1141 Loc = ConsumeParen();
1151 Loc = MatchRHSPunctuation(tok::r_paren, Loc);
1153 *EndLoc = Loc;