Searched refs:DigitTok (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 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 [all …]
|
/external/llvm-project/clang/lib/Lex/ |
D | PPDirectives.cpp | 1092 static bool GetLineValue(Token &DigitTok, unsigned &Val, in GetLineValue() argument 1095 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue() 1096 PP.Diag(DigitTok, DiagID); in GetLineValue() 1098 if (DigitTok.isNot(tok::eod)) in GetLineValue() 1104 IntegerBuffer.resize(DigitTok.getLength()); in GetLineValue() 1107 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue() 1122 PP.Diag(PP.AdvanceToTokenCharacter(DigitTok.getLocation(), i), in GetLineValue() 1130 PP.Diag(DigitTok, DiagID); in GetLineValue() 1138 PP.Diag(DigitTok.getLocation(), diag::warn_pp_line_decimal) in GetLineValue() 1154 Token DigitTok; in HandleLineDirective() local [all …]
|