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()
835 SourceLocation TokLoc, in NumericLiteralParser() argument
868 Diags.Report(TokLoc, diag::err_lexing_numeric); in NumericLiteralParser()
874 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
883 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
890 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
1099 TokLoc, SuffixBegin - ThisTokBegin, SM, LangOpts), in NumericLiteralParser()
1115 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){ in ParseDecimalOrOctalCommon() argument
1123 Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
1131 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1135 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1139 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1147 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1152 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
1188 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc, in checkSeparator() argument
1199 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin, SM, in checkSeparator()
1212 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { in ParseNumberStartingWithZero() argument
1236 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits); in ParseNumberStartingWithZero()
1240 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1251 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
1260 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseNumberStartingWithZero()
1266 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseNumberStartingWithZero()
1270 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
1274 Diags.Report(TokLoc, diag::warn_cxx17_hex_literal); in ParseNumberStartingWithZero()
1276 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1288 Diags.Report(TokLoc, LangOpts.CPlusPlus14 in ParseNumberStartingWithZero()
1301 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
1336 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
1968 SourceLocation TokLoc = StringToks[i].getLocation(); in init() local
1969 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()
1972 << SourceRange(TokLoc, TokLoc); in init()