Home
last modified time | relevance | path

Searched refs:DigitTok (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp1442 static bool GetLineValue(Token &DigitTok, unsigned &Val, in GetLineValue() argument
1445 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue()
1446 PP.Diag(DigitTok, DiagID); in GetLineValue()
1448 if (DigitTok.isNot(tok::eod)) in GetLineValue()
1454 IntegerBuffer.resize(DigitTok.getLength()); in GetLineValue()
1457 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue()
1472 PP.Diag(PP.AdvanceToTokenCharacter(DigitTok.getLocation(), i), in GetLineValue()
1480 PP.Diag(DigitTok, DiagID); in GetLineValue()
1488 PP.Diag(DigitTok.getLocation(), diag::warn_pp_line_decimal) in GetLineValue()
1504 Token DigitTok; in HandleLineDirective() local
[all …]