Lines Matching refs:TokLoc

81                                            FullSourceLoc TokLoc,  in MakeCharSourceRange()  argument
86 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
87 TokLoc.getManager(), Features); in MakeCharSourceRange()
90 TokLoc.getManager(), Features); in MakeCharSourceRange()
100 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
104 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
105 TokLoc.getManager(), Features); in Diag()
107 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
901 SourceLocation TokLoc, in NumericLiteralParser() argument
938 Diags.Report(TokLoc, diag::err_lexing_numeric); in NumericLiteralParser()
944 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
953 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
960 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
1200 TokLoc, SuffixBegin - ThisTokBegin, SM, LangOpts), in NumericLiteralParser()
1216 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){ in ParseDecimalOrOctalCommon() argument
1224 Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
1232 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1236 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1240 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1248 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1253 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
1291 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc, in checkSeparator() argument
1302 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin, SM, in checkSeparator()
1315 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { in ParseNumberStartingWithZero() argument
1339 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits); in ParseNumberStartingWithZero()
1343 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1354 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
1363 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseNumberStartingWithZero()
1369 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseNumberStartingWithZero()
1373 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
1377 Diags.Report(TokLoc, diag::warn_cxx17_hex_literal); in ParseNumberStartingWithZero()
1379 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1400 Diags.Report(TokLoc, DiagId); in ParseNumberStartingWithZero()
1410 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1445 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
2099 SourceLocation TokLoc = StringToks[i].getLocation(); in init() local
2101 Diags->Report(TokLoc, diag::err_unevaluated_string_udl) in init()
2102 << SourceRange(TokLoc, TokLoc); in init()
2104 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()