Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPPDirectives.cpp937 static bool GetLineValue(Token &DigitTok, unsigned &Val, in GetLineValue() argument
940 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue()
941 PP.Diag(DigitTok, DiagID); in GetLineValue()
943 if (DigitTok.isNot(tok::eod)) in GetLineValue()
949 IntegerBuffer.resize(DigitTok.getLength()); in GetLineValue()
952 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue()
967 PP.Diag(PP.AdvanceToTokenCharacter(DigitTok.getLocation(), i), in GetLineValue()
975 PP.Diag(DigitTok, DiagID); in GetLineValue()
983 PP.Diag(DigitTok.getLocation(), diag::warn_pp_line_decimal) in GetLineValue()
999 Token DigitTok; in HandleLineDirective() local
[all …]