Home | History | Annotate | Download | only in Lex

Lines Matching refs:kind

26 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) {
27 switch (kind) {
1016 tok::TokenKind kind) {
1020 Kind = kind;
1025 if (Kind != tok::char_constant)
1027 if (Kind == tok::utf8_char_constant)
1069 if (tok::wide_char_constant == Kind) {
1072 } else if (tok::utf8_char_constant == Kind) {
1074 } else if (tok::utf16_char_constant == Kind) {
1076 } else if (tok::utf32_char_constant == Kind) {
1139 unsigned CharWidth = getCharWidth(Kind, PP.getTargetInfo());
1256 MaxTokenLength(0), SizeBound(0), CharByteWidth(0), Kind(tok::unknown),
1275 Kind = StringToks[0].getKind();
1296 if (StringToks[i].isNot(Kind) && StringToks[i].isNot(tok::string_literal)) {
1298 Kind = StringToks[i].getKind();
1314 CharByteWidth = getCharWidth(Kind, Target);