Lines Matching refs:DigitTok
1081 static bool GetLineValue(Token &DigitTok, unsigned &Val, in GetLineValue() argument
1084 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue()
1085 PP.Diag(DigitTok, DiagID); in GetLineValue()
1087 if (DigitTok.isNot(tok::eod)) in GetLineValue()
1093 IntegerBuffer.resize(DigitTok.getLength()); in GetLineValue()
1096 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue()
1111 PP.Diag(PP.AdvanceToTokenCharacter(DigitTok.getLocation(), i), in GetLineValue()
1119 PP.Diag(DigitTok, DiagID); in GetLineValue()
1127 PP.Diag(DigitTok.getLocation(), diag::warn_pp_line_decimal) in GetLineValue()
1143 Token DigitTok; in HandleLineDirective() local
1144 Lex(DigitTok); in HandleLineDirective()
1148 if (GetLineValue(DigitTok, LineNo, diag::err_pp_line_requires_integer,*this)) in HandleLineDirective()
1152 Diag(DigitTok, diag::ext_pp_line_zero); in HandleLineDirective()
1160 Diag(DigitTok, diag::ext_pp_line_too_big) << LineLimit; in HandleLineDirective()
1162 Diag(DigitTok, diag::warn_cxx98_compat_pp_line_too_big); in HandleLineDirective()
1195 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID); in HandleLineDirective()
1289 void Preprocessor::HandleDigitDirective(Token &DigitTok) { in HandleDigitDirective() argument
1293 if (GetLineValue(DigitTok, LineNo, diag::err_pp_linemarker_requires_integer, in HandleDigitDirective()
1333 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, in HandleDigitDirective()