Lines Matching refs:TokLoc

61                                            FullSourceLoc TokLoc,  in MakeCharSourceRange()  argument
66 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
67 TokLoc.getManager(), Features); in MakeCharSourceRange()
70 TokLoc.getManager(), Features); in MakeCharSourceRange()
80 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
84 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
85 TokLoc.getManager(), Features); in Diag()
87 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
833 SourceLocation TokLoc, in NumericLiteralParser() argument
866 Diags.Report(TokLoc, diag::err_lexing_numeric); in NumericLiteralParser()
872 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
881 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
888 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
1101 TokLoc, SuffixBegin - ThisTokBegin, SM, LangOpts), in NumericLiteralParser()
1117 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){ in ParseDecimalOrOctalCommon() argument
1125 Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
1133 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1137 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1141 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1149 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1154 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
1190 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc, in checkSeparator() argument
1201 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin, SM, in checkSeparator()
1214 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { in ParseNumberStartingWithZero() argument
1238 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits); in ParseNumberStartingWithZero()
1242 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1253 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
1262 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseNumberStartingWithZero()
1268 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseNumberStartingWithZero()
1272 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
1276 Diags.Report(TokLoc, diag::warn_cxx17_hex_literal); in ParseNumberStartingWithZero()
1278 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1290 Diags.Report(TokLoc, LangOpts.CPlusPlus14 in ParseNumberStartingWithZero()
1303 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1338 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
1970 SourceLocation TokLoc = StringToks[i].getLocation(); in init() local
1971 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()
1974 << SourceRange(TokLoc, TokLoc); in init()