Lines Matching refs:TokLoc

47                                            FullSourceLoc TokLoc,  in MakeCharSourceRange()  argument
52 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
53 TokLoc.getManager(), Features); in MakeCharSourceRange()
56 TokLoc.getManager(), Features); in MakeCharSourceRange()
66 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
70 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
71 TokLoc.getManager(), Features); in Diag()
73 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
508 SourceLocation TokLoc, in NumericLiteralParser() argument
533 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
542 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
549 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
677 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, SuffixBegin - ThisTokBegin), in NumericLiteralParser()
685 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, in NumericLiteralParser()
694 void NumericLiteralParser::ParseDecimalOrOctalCommon(SourceLocation TokLoc){ in ParseDecimalOrOctalCommon() argument
700 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s-ThisTokBegin), in ParseDecimalOrOctalCommon()
707 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
711 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
715 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
723 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
726 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseDecimalOrOctalCommon()
759 void NumericLiteralParser::checkSeparator(SourceLocation TokLoc, in checkSeparator() argument
770 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin), in checkSeparator()
780 void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { in ParseNumberStartingWithZero() argument
804 checkSeparator(TokLoc, floatDigitsBegin, CSK_BeforeDigits); in ParseNumberStartingWithZero()
808 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin), in ParseNumberStartingWithZero()
818 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
825 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseNumberStartingWithZero()
830 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseNumberStartingWithZero()
834 PP.Diag(TokLoc, PP.getLangOpts().CPlusPlus in ParseNumberStartingWithZero()
838 PP.Diag(TokLoc, diag::warn_cxx1z_hex_literal); in ParseNumberStartingWithZero()
840 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s - ThisTokBegin), in ParseNumberStartingWithZero()
851 PP.Diag(TokLoc, in ParseNumberStartingWithZero()
865 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s-ThisTokBegin), in ParseNumberStartingWithZero()
892 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
1396 SourceLocation TokLoc = StringToks[i].getLocation(); in init() local
1397 Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) in init()
1400 << SourceRange(TokLoc, TokLoc); in init()