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
556 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
565 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
572 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
735 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, SuffixBegin - ThisTokBegin), in NumericLiteralParser()
750 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){ in ParseDecimalOrOctalCommon() argument
757 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s-ThisTokBegin), in ParseDecimalOrOctalCommon()
764 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
768 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
772 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
780 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
784 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseDecimalOrOctalCommon()
820 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc, in checkSeparator() argument
831 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin), in checkSeparator()
843 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { in ParseNumberStartingWithZero() argument
867 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits); in ParseNumberStartingWithZero()
871 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin), in ParseNumberStartingWithZero()
881 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
889 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseNumberStartingWithZero()
895 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseNumberStartingWithZero()
899 PP.Diag(TokLoc, PP.getLangOpts().CPlusPlus in ParseNumberStartingWithZero()
903 PP.Diag(TokLoc, diag::warn_cxx17_hex_literal); in ParseNumberStartingWithZero()
905 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin), in ParseNumberStartingWithZero()
916 PP.Diag(TokLoc, in ParseNumberStartingWithZero()
932 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s-ThisTokBegin), in ParseNumberStartingWithZero()
959 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
1582 SourceLocation TokLoc = StringToks[i].getLocation(); in init() local
1583 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()
1586 << SourceRange(TokLoc, TokLoc); in init()