Lines Matching defs:TokLoc
81 FullSourceLoc TokLoc,
86 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin,
87 TokLoc.getManager(), Features);
90 TokLoc.getManager(), Features);
100 const LangOptions &Features, FullSourceLoc TokLoc,
104 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin,
105 TokLoc.getManager(), Features);
107 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd);
903 SourceLocation TokLoc,
940 Diags.Report(TokLoc, diag::err_lexing_numeric);
946 ParseNumberStartingWithZero(TokLoc);
955 ParseDecimalOrOctalCommon(TokLoc);
962 checkSeparator(TokLoc, s, CSK_AfterDigits);
1202 TokLoc, SuffixBegin - ThisTokBegin, SM, LangOpts),
1218 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){
1226 Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, LangOpts),
1234 checkSeparator(TokLoc, s, CSK_AfterDigits);
1238 checkSeparator(TokLoc, s, CSK_BeforeDigits);
1242 checkSeparator(TokLoc, s, CSK_AfterDigits);
1250 checkSeparator(TokLoc, s, CSK_BeforeDigits);
1255 TokLoc, Exponent - ThisTokBegin, SM, LangOpts),
1293 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc,
1304 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin, SM,
1317 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) {
1341 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits);
1345 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM,
1356 checkSeparator(TokLoc, s, CSK_AfterDigits);
1365 TokLoc, Exponent - ThisTokBegin, SM, LangOpts),
1371 checkSeparator(TokLoc, s, CSK_BeforeDigits);
1375 Diags.Report(TokLoc, LangOpts.CPlusPlus
1379 Diags.Report(TokLoc, diag::warn_cxx17_hex_literal);
1381 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM,
1402 Diags.Report(TokLoc, DiagId);
1412 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM,
1447 ParseDecimalOrOctalCommon(TokLoc);
2101 SourceLocation TokLoc = StringToks[i].getLocation();
2103 Diags->Report(TokLoc, diag::err_unevaluated_string_udl)
2104 << SourceRange(TokLoc, TokLoc);
2106 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix)