Lines Matching refs:TokLoc
60 FullSourceLoc TokLoc, in MakeCharSourceRange() argument
65 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
66 TokLoc.getManager(), Features); in MakeCharSourceRange()
69 TokLoc.getManager(), Features); in MakeCharSourceRange()
79 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
83 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
84 TokLoc.getManager(), Features); in Diag()
86 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
527 SourceLocation TokLoc, in NumericLiteralParser() argument
561 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
570 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
577 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
767 TokLoc, SuffixBegin - ThisTokBegin, SM, LangOpts), in NumericLiteralParser()
783 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){ in ParseDecimalOrOctalCommon() argument
791 Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
799 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
803 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
807 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
815 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
820 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseDecimalOrOctalCommon()
856 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc, in checkSeparator() argument
867 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin, SM, in checkSeparator()
880 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { in ParseNumberStartingWithZero() argument
904 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits); in ParseNumberStartingWithZero()
908 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
919 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
928 TokLoc, Exponent - ThisTokBegin, SM, LangOpts), in ParseNumberStartingWithZero()
934 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseNumberStartingWithZero()
938 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
942 Diags.Report(TokLoc, diag::warn_cxx17_hex_literal); in ParseNumberStartingWithZero()
944 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
956 Diags.Report(TokLoc, LangOpts.CPlusPlus14 in ParseNumberStartingWithZero()
969 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin, SM, in ParseNumberStartingWithZero()
998 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
1625 SourceLocation TokLoc = StringToks[i].getLocation(); in init() local
1626 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()
1629 << SourceRange(TokLoc, TokLoc); in init()