Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPDirectives.cpp1320 static bool GetLineValue(Token &DigitTok, unsigned &Val, in GetLineValue() argument
1323 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue()
1324 PP.Diag(DigitTok, DiagID); in GetLineValue()
1326 if (DigitTok.isNot(tok::eod)) in GetLineValue()
1332 IntegerBuffer.resize(DigitTok.getLength()); in GetLineValue()
1335 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue()
1350 PP.Diag(PP.AdvanceToTokenCharacter(DigitTok.getLocation(), i), in GetLineValue()
1358 PP.Diag(DigitTok, DiagID); in GetLineValue()
1366 PP.Diag(DigitTok.getLocation(), diag::warn_pp_line_decimal) in GetLineValue()
1382 Token DigitTok; in HandleLineDirective() local
[all …]